Hi,
I've been trying to learn how to mod in Forge, and got some things working correctly like custom blocks, slabs and stairs.
What i wanted to do next is creating a custom crafting table that amongst other things keeps the items in the slots when closing. I've been spending quite some days now to try to get it work, but alas, to no avail.
I've made a custom block and I got a UI to load when right clicking the block, but I'm stuck with the crafting result slot. I've created a tile entity and a container, but the crafting recipe isn't updating when the items are placed in the crafting grid. I looked at the container and tile entity classes for the furnace, workbench and hopper but I can't get any further.
I think the problem is that the slots from the container and the itemstacks from the tile entity aren't referencing the same values or something like that.
Does anyone know of any custom workbench tutorials for 1.8 , or could tell me how to set up the slots and inventories inside the container constructor? I also can't seem to find how the UI is updated inside the workbench to display the new contents of a slot, and where (which function) the stacks of the crafting grid are decreased when something is crafted...