gnembon / carpet-autoCraftingTable

autoCraftingTable extension for carpet-mod
GNU Lesser General Public License v3.0
80 stars 27 forks source link

Issues with crafting book #14

Open ZuccySuccy opened 3 years ago

ZuccySuccy commented 3 years ago

When a player interacts with a crafting table and uses the crafting book to craft an item, if you are just left clicking on the sprite for the item, the items in the table will remain at 1 for each slot needed for crafting.

evermoreobsolete commented 3 years ago

I think I know what's causing this issue. Vanilla MC creates crafting inventories on the fly as they only need to last as long as the crafting screen is open, but we can't do this as we need a single persistent inventory. However, I don't think the use of ad-hoc inventories had not been completely prevented and it is these that are responsible for this issue and possibly others. Hopefully this fixes it.