mojira.dev
MC-107639

Shulker Box can't be read by comparators if placed by dispensers until block update

When automatically placed by a dispenser, Shulker Boxes with items in their inventory do not output redstone signal through a comparator until a block update happens, either for the chest or the comparator.


Can be fixed by calling the method net.minecraft.world.World.updateComparatorOutputLevel(BlockPos, Block) when the shulker box is dispensed.

Linked issues

Attachments

Comments 2

This is the world download with a simple contraption to quickly simulate the bug. In the dispenser to the right are the Shulker Boxes with some redstone inside.
By pressing the button boxes are placed but the comparator reads nothing until block update.
Placing the box manually instead works normally

This is something that feels important to get fixed, since it breaks one of the main features of the box imo.

herohares

migrated

Confirmed

block-update, redstone_comparator, shulker_box

Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a

Minecraft 16w44a

Retrieved