mojira.dev
MC-102677

Summoning Structure Blocks As Entities Resets Them

When attempting to summon a structure block as a falling sand entity, it reverts to the default data mode as soon as it hits the ground, deleting the tags within. It is therefore impossible to summon save, load or corner blocks.

Command used: /summon FallingSand ~ ~1 ~ {Block:structure_block,Data:1,Time:1,DropItem:0}

Comments 3

You need to provide the command you're using.

Yes, summoning any block as an entity will reset any tags if said block goes into block form again. If you spawn a piece of sand with, let's say, no gravity, the sand will have no gravity. However, if it were to touch a piece of ground, it would affix and become a normal sand block. The game is unable to keep up with the fact that the sand block was once the entity with that NBT tag, so that sand would be 100% unmodified.

@@unknown FallingSand entities come with a TileEntityData compound to store potential tile data.

The type of structure block is not saved as its metadata value. It's instead saved as the mode string:

/summon FallingSand ~ ~1 ~ {Block:structure_block,Time:1,DropItem:0,TileEntityData:{mode:"LOAD"}}

Skylar Rose

(Unassigned)

Unconfirmed

Minecraft 16w21b

Retrieved