mojira.dev
MC-138641

Shulker boxes no longer retain "Lock" nbt when being broken

The bug

In 1.13 and below, if a shulker box had "Lock" nbt data and was broken and placed again it would retain the lock.

Due to the changes in block loot tables, in the 1.14 snapshots it looses this nbt data when being broken and placed.

Linked issues

Comments 5

what inpact has this on the game? When you say "This was useful for maps and other things" I cant really know what you are talking about. If you could spesify, it would be great! What in maps can be broken, and generaly, what do this bug impact, and break?

Let's say for example; you've created a dungeon map.  Throughout the map players can walk around and pick up loot shulker boxes.  However, these players wouldn't be able to open them up until they defeat the boss of the dungeon and obtain the key for the loot shulker boxes.

This is just one example of course, but I hope that helps explain.  I'd also really love to just see a universal loot table function that stores nbt from a block into the TileEntityData tag.  This way you could set loot tables to do things like; transfer the nbt of mob spawners to TileEntityData.

thank you for spesifying, you may think of adding what you just said to the report, so the devs and mods can see how important this bug is
or they could just read the comments

This bug is fixed, only in the case of player breaking the shulker box aren't in creative
If the player are in creative, the bug still happens.

Go create a new report specifically for creative mode then.

MukiTanuki

boq

Confirmed

lock, mine, nbt, shulker_box

Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w48a

Minecraft 18w49a

Retrieved