When the Crafter gets a short Redstone impulse(at most 4 redstone ticks) and the correct Construction(It didn't always work) is built, then the Comparator keeps the signal.
What I expected to happen was...:
The Comparator updates and stops being powered.
What actually happened was...:
The Comparator doesn't update and keeps being powered.
Steps to Reproduce:
1. Build the Construction, which is shown in the image.
2. Place a Recipe in the Crafter.
3. Press the Button.
4. Don't open the barrel. This will update the comparator.
Linked issues
is duplicated by 8
Attachments
Comments 6
Code Analysis:
net.minecraft.world.level.block.CrafterBlock#dispenseFrom()
// Current code
serverLevel.setBlock(blockPos, blockState.setValue(CRAFTING, true), UPDATE_CLIENTS);
// Should be
serverLevel.setBlock(blockPos, blockState.setValue(CRAFTING, true), UPDATE_ALL);
Currently the update is `2` (UPDATE_CLIENTS) but it should be `3` (UPDATE_ALL) as block updates need to be done
This also happens for containers being filled by the crafter.
I have a crafter that is filling up a chest and a comparator that is reading the contents of the chest, but the comparator doesn't update its strength as the chest fills up.
Edit: This bug can only be reproduced when the chest is blocked by a block above (so you can't open the chest) not sure if this requires a separate ticket or not.
After removing the block you can open the chest but the comparator will still not update:
[media]
Can confirm. Attached reproduction method. Place any recipe in crafter and update note block to recreate.
I can confirm this