2015-06-07 04:11:13 +02:00
|
|
|
package techreborn.tiles;
|
|
|
|
|
2017-01-08 20:34:46 +01:00
|
|
|
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 {
|
2016-12-18 21:34:01 +01:00
|
|
|
|
2016-12-18 22:06:07 +01:00
|
|
|
public TileDigitalChest() {
|
2017-01-08 05:09:46 +01:00
|
|
|
super("TileDigitalChest", 32768);
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2017-01-08 20:34:46 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public BuiltContainer createContainer(final EntityPlayer player) {
|
|
|
|
return new ContainerBuilder("digitalchest").player(player.inventory).inventory().hotbar().addInventory()
|
2017-01-09 06:58:02 +01:00
|
|
|
.tile(this).slot(0, 80, 24).outputSlot(1, 80, 64).addInventory().create();
|
2017-01-08 20:34:46 +01:00
|
|
|
}
|
2015-06-07 04:11:13 +02:00
|
|
|
}
|