use of logisticspipes.blocks.LogisticsProgramCompilerTileEntity in project LogisticsPipes by RS485.
the class CompilerStatusPacket method processPacket.
@Override
public void processPacket(EntityPlayer player) {
LogisticsProgramCompilerTileEntity tile = this.getTileAs(player.world, LogisticsProgramCompilerTileEntity.class);
tile.setStateOnClient(this);
}
use of logisticspipes.blocks.LogisticsProgramCompilerTileEntity in project LogisticsPipes by RS485.
the class ProgramCompilerGui method getContainer.
@Override
public Container getContainer(EntityPlayer player) {
LogisticsProgramCompilerTileEntity compilerBlock = getTileAs(player.world, LogisticsProgramCompilerTileEntity.class);
DummyContainer dummy = new DummyContainer(player, null, compilerBlock);
dummy.addRestrictedSlot(0, compilerBlock.getInventory(), 10, 10, LPItems.disk);
dummy.addRestrictedSlot(1, compilerBlock.getInventory(), 154, 10, LPItems.logisticsProgrammer);
dummy.addNormalSlotsForPlayerInventory(10, 45);
return dummy;
}
use of logisticspipes.blocks.LogisticsProgramCompilerTileEntity in project LogisticsPipes by RS485.
the class CompilerTriggerTaskPacket method processPacket.
@Override
public void processPacket(EntityPlayer player) {
LogisticsProgramCompilerTileEntity tile = this.getTileAs(player.world, LogisticsProgramCompilerTileEntity.class);
tile.triggerNewTask(getCategory(), getType());
}
Aggregations