I have an issue with the 1.9.1 version for 1.12.2 Minecraft that I'm trying to remove buckets that were used for crafting a recipe. One was a bucket of milk, the other water. After crafting, the liquids and other ingredients are removed, but the empty buckets remain. I added a procedure that I thought would handle removal of items out of the crafting table slots (2 and 4 for one recipe and 2, 4, 6 and 8 for the other). I'm wondering if there is some other step required because the empty buckets have two states to them (full/empty)?
These procedures are called from the procedure providing the item in slot 0 to the player and it works along with the procedure immediately after the above to add experience points.
I haven't migrated this code to 2020-1 yet as I'm trying to make sure this works here first. Thanks! -Steve
Issue comments
I understand, thanks. I started with the Template Library | GUI Template - Crafting Table, so was expecting that would work since it is included by default. I'll migrate the code to 2020-1 and see if it is reproducible. Thanks!
Migrated to 2020-1 and rebuild mod using 1.12.2 (Forge b2768), and still the same behavior exists. I also verified that the Template Library doesn't look like anything changed for GUI Template - Crafting Table. The empty buckets do not get removed when procedure is called. Thanks, Steve
The probably it is point 2.:
Workbench is a very special instance of the container as it does not hold its items inside. You will most likely will be able to use this properly in 2020.2 with new GUI procedures.