Fix slot config, some changes to the way Inventory works as well to allow for this.

This commit is contained in:
modmuss50 2018-09-13 19:33:14 +01:00
parent 305f74b107
commit 01644e4f65
35 changed files with 114 additions and 108 deletions

View file

@ -69,7 +69,7 @@ public class TileRollingMachine extends TilePowerAcceptor
public int[] craftingSlots = new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8 };
private InventoryCrafting craftCache;
public Inventory inventory = new Inventory(12, "TileRollingMachine", 64, this);
public Inventory<TileRollingMachine> inventory = new Inventory<>(12, "TileRollingMachine", 64, this);
public boolean isRunning;
public int tickTime;
@Nonnull