The Bug:
Composters are emptied when using items that add a very large number of compost layers.
Empty composters are filled up instead, therefore introducing an inconsistency.
Steps to Reproduce:
Place down a composter that already contains compost by using the command provided below.
/setblock ~ ~ ~2 minecraft:composter[level=3]Obtain a stick that adds a very large number of compost layers by using the command provided below.
/give @s minecraft:stick[minecraft:compostable={layers:2147483647}]Use the stick on the composter.
Observe if the composter is filled up or emptied.
Observed Behavior:
Composters are emptied when using items that add a very large number of compost layers.
Expected Behavior:
Composters would be filled up when using items that add a very large number of compost layers.