package tconstruct.blocks.logic; import mantle.blocks.abstracts.InventoryLogic; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Container; import net.minecraft.world.World; import tconstruct.inventory.PatternChestContainer; public class PatternChestLogic extends InventoryLogic { public PatternChestLogic() { super(30); } @Override public boolean canUpdate () { return false; } @Override public String getDefaultName () { return "toolstation.patternholder"; } @Override public Container getGuiContainer (InventoryPlayer inventoryplayer, World world, int x, int y, int z) { return new PatternChestContainer(inventoryplayer, this); } @Override public String getInventoryName () { return getDefaultName(); } @Override public boolean hasCustomInventoryName () { return true; } @Override public void openInventory () { } @Override public void closeInventory () { } }