33 lines
691 B
Java
33 lines
691 B
Java
package tinker.tconstruct.logic;
|
|
|
|
import net.minecraft.entity.player.InventoryPlayer;
|
|
import net.minecraft.inventory.Container;
|
|
import net.minecraft.world.World;
|
|
import tinker.common.InventoryLogic;
|
|
import tinker.tconstruct.container.PatternChestContainer;
|
|
|
|
public class PatternChestLogic extends InventoryLogic
|
|
{
|
|
public PatternChestLogic()
|
|
{
|
|
super(30);
|
|
}
|
|
|
|
public boolean canUpdate()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public String getInvName ()
|
|
{
|
|
return "toolstation.patternholder";
|
|
}
|
|
|
|
@Override
|
|
public Container getGuiContainer (InventoryPlayer inventoryplayer, World world, int x, int y, int z)
|
|
{
|
|
return new PatternChestContainer(inventoryplayer, this);
|
|
}
|
|
}
|