I'm trying to summon an item inside a glass block (it's not because it's transparent or even glass, I tried with concrete too, an it still happened), but it just jumps out, which defeats the purpose of it being in the block. Does anyone know what I can do to stop this from happening?

  • Perhaps if you just want the item to sit there permanently you can give it custom tags and then teleport it to that spot in a repeating command block? – Reflexive Jun 15 '19 at 0:00
  • Not sure if this would work inside a block, but it's what I use when I want floating items on 1.12.2: /summon Item ~0 ~0.5 ~3 {Age:-32768,PickupDelay:32767,NoGravity:1b,Health:32767,Invulnerable:1,Item:{Count:1,id:"minecraft:dirt"}} – Stephen Jun 16 '19 at 4:42

You can't do this with normal items, not even NoAI helps. But you can do something very similar: You can summon an invisible armour stand with an item on its head. Example:

/summon armor_stand ~ ~ ~ {Invisible:1,Marker:1,NoGravity:1,ArmorItems:[{},{},{},{id:"stone",Count:1}]}
  • Sounds great, but I want the item to be able to be picked up, as well as reset. – Leaf Jul 6 '19 at 1:27
  • Then /give it to the player once he gets close and kill the armour stand. – Fabian Röling Jul 6 '19 at 3:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.