mojira.dev
MC-313822

Composters are emptied when using items that add a very large number of compost layers

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:

  1. Place down a composter that already contains compost by using the command provided below.

    /setblock ~ ~ ~2 minecraft:composter[level=3]
  2. 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}]
  3. Use the stick on the composter.

  4. 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.

Attachments

Comments 1

Avoma

(Unassigned)

Confirmed

26.3, 26.4 Release Candidate 1

Retrieved