4490ff75fc
LevelChunk.setBlockState now runs BlockEntity.preRemoveSideEffects and removes the block entity when a block with one is replaced by another block (copper chests and copper golem statues keep theirs across weathering; UPDATE_SKIP_BLOCK_ENTITY_SIDEEFFECTS skips the side effects). Containers spill every slot through Containers.dropItemStack (spot and pieces of 10 to 30 with triangular motions from the level random, empty slots still drawing their spot), jukeboxes pop their record, lecterns their book; shulker boxes keep their contents for the dropped box. Campfires, decorated pots, chiseled bookshelves and shelves, which Horizon keeps as loaded, spill too. Block.dropResources now draws its loot and pop spots when the behaviour calls it, not after it returns, and spawnAfterBreak awards ore, sculk and spawner experience. Item entities and orbs the behaviour makes are added before it returns to the game, in the same tick. Player mining follows ServerPlayerGameMode.destroyBlock's order (removal and spill, tool wear, then the drops); explosions let the removal spill the contents. ExperienceOrb.award draws the merge id from the level random and moves the orb with its own random. Decorated pots copy their decorations and drop their sherds when cracked (loot tables' dynamic entries). The block update oracle replays preRemoveSideEffects too, and the new block removal harness (tools/test_block_removal_parity.py) compares setBlock/destroyBlock/removeBlock on every block entity holder with contents against vanilla: 2000/2000 cases match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>