TechReborn/src/main/java/techreborn/tiles/TileDigitalChest.java

20 lines
681 B
Java
Raw Normal View History

2015-06-07 04:11:13 +02:00
package techreborn.tiles;
import net.minecraft.entity.player.EntityPlayer;
import techreborn.client.container.IContainerProvider;
import techreborn.client.container.builder.BuiltContainer;
import techreborn.client.container.builder.ContainerBuilder;
public class TileDigitalChest extends TileTechStorageBase implements IContainerProvider {
public TileDigitalChest() {
2017-01-08 05:09:46 +01:00
super("TileDigitalChest", 32768);
2016-03-25 10:47:34 +01:00
}
@Override
public BuiltContainer createContainer(final EntityPlayer player) {
return new ContainerBuilder("digitalchest").player(player.inventory).inventory().hotbar().addInventory()
.tile(this).slot(0, 80, 24).outputSlot(1, 80, 64).addInventory().create();
}
2015-06-07 04:11:13 +02:00
}