mojira.dev
MC-107882

Comparator not updating when Shulker Box behind block is broken

If you place a shulker box with items inside it and take an output with a comparator through a block, and than we destroy the shulker box, comparator doesn't update.


Can be fixed by calling the method net.minecraft.world.World.updateComparatorOutputLevel(BlockPos, Block) on breakBlock(World, BlockPos, IBlockState).

Linked issues

Attachments

Comments 3

Yeah, but it updates if you use chests, dispensers, droppers and hoppers, but it doesnt for jukebox, cake, end portal frame, item frame and probably something more 🙂

The solution would be probably to do the same what was done to hoppers, dispensers, chests etc.

Mateusz

migrated

Confirmed

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

Minecraft 16w44a

Retrieved