TinkersConstruct/mods/tinker/tconstruct/logic/PatternChestLogic.java
2013-03-11 00:05:11 -07:00

33 lines
710 B
Java

package mods.tinker.tconstruct.logic;
import mods.tinker.common.InventoryLogic;
import mods.tinker.tconstruct.container.PatternChestContainer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.world.World;
public class PatternChestLogic extends InventoryLogic
{
public PatternChestLogic()
{
super(30);
}
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);
}
}