public ContainerGrinder(InventoryPlayer player, TileEntityGrinder tileEntityFurnace) { this.tileFurnace = tileEntityFurnace; this.addSlotToContainer(new Slot(tileEntityFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(tileEntityFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntityFurnace, 2, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(player, i, 8 + i * 18, 142)); } }
public ContainerLiquefier(InventoryPlayer player, TileEntityLiquefier tileEntityFurnace) { this.tileFurnace = tileEntityFurnace; this.addSlotToContainer(new Slot(tileEntityFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(tileEntityFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntityFurnace, 2, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(player, i, 8 + i * 18, 142)); } }
public ContainerExtruder(InventoryPlayer player, TileEntityExtruder tileEntityExtruder){ this.tileExtruder = tileEntityExtruder; this.addSlotToContainer(new Slot(tileEntityExtruder, 0, 56, 35)); this.addSlotToContainer(new Slot(tileEntityExtruder, 1, 8, 56)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntityExtruder, 2, 116, 35)); int i; for(i = 0; i < 3; ++i){ for(int j = 0; j < 9; ++j){ this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(i = 0; i < 9; ++i){ this.addSlotToContainer(new Slot(player, i , 8 + i * 18 , 142)); } }
public ContainerSteelFurnace(InventoryPlayer player, TileEntitySteelFurnace tileEntityFurnace){ this.tileFurnace = tileEntityFurnace; this.addSlotToContainer(new Slot(tileEntityFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(tileEntityFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntityFurnace, 2, 116, 35)); int i; for(i = 0; i < 3; ++i){ for(int j = 0; j < 9; ++j){ this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(i = 0; i < 9; ++i){ this.addSlotToContainer(new Slot(player, i , 8 + i * 18 , 142)); } }
public ContainerRobitSmelting(InventoryPlayer inventory, EntityRobit entity) { robit = entity; robit.openInventory(); addSlotToContainer(new Slot(entity, 28, 56, 17)); addSlotToContainer(new Slot(entity, 29, 56, 53)); addSlotToContainer(new SlotFurnace(inventory.player, entity, 30, 116, 35)); int slotY; for(slotY = 0; slotY < 3; slotY++) { for(int slotX = 0; slotX < 9; slotX++) { addSlotToContainer(new Slot(inventory, slotX + slotY * 9 + 9, 8 + slotX * 18, 84 + slotY * 18)); } } for(slotY = 0; slotY < 9; slotY++) { addSlotToContainer(new Slot(inventory, slotY, 8 + slotY * 18, 142)); } }
public ContainerSmeltingFurnace(InventoryPlayer inventory, TileEntitySmeltingFurnace tileentity) { this.smeltingFurnace = tileentity; this.addSlotToContainer(new Slot(tileentity, 0, 56, 17)); this.addSlotToContainer(new Slot(tileentity, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileentity, 2, 116, 35)); for (int i = 0; i < 3; i++) { for(int j = 0; j < 9; j++) { this.addSlotToContainer(new Slot(inventory, j + i*9 + 9, 8+ j*18, 84 + i*18)); } } for (int i = 0; i < 9; i++) { this.addSlotToContainer(new Slot(inventory, i, 8 + i * 18, 142)); } }
public ContainerMatterConverter(InventoryPlayer player, TileEntityMatterConverter tileEntity) { this.tileFurnace = tileEntity; this.addSlotToContainer(new Slot(tileEntity, 0, 56, 35)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntity, 2, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(player, i, 8 + i * 18, 142)); } }
public ContainerCleaningTable(InventoryPlayer player, TileEntityCleaningTable tileEntity) { this.tileFurnace = tileEntity; this.addSlotToContainer(new Slot(tileEntity, 1, 56, 34)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntity, 2, 107, 25)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntity, 3, 125, 25)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntity, 4, 107, 43)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntity, 5, 125, 43)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(player, i, 8 + i * 18, 142)); } }
public ContainerRefinery(InventoryPlayer playerinv, TileEntityRefinery te) { this.tileentity = te; this.addSlotToContainer(new Slot(te, 0, 56, 35)); this.addSlotToContainer(new SlotFurnace(playerinv.player, te, 1, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(playerinv, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(playerinv, i, 8 + i * 18, 142)); } }
public ContainerWaffleIron(InventoryPlayer playerinv, TileEntityWaffleIron te) { this.tileentity = te; this.addSlotToContainer(new Slot(te, 0, 56, 35)); this.addSlotToContainer(new SlotFurnace(playerinv.player, te, 1, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(playerinv, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(playerinv, i, 8 + i * 18, 142)); } }
public ContainerCocoaDryer(InventoryPlayer player, TileEntityCocoaDryer tileEntityFurnace){ this.tileFurnace = tileEntityFurnace; this.addSlotToContainer(new Slot(tileEntityFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(tileEntityFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(player.player, tileEntityFurnace, 2, 116, 35)); int i; for(i = 0; i < 3; ++i){ for(int j = 0; j < 9; ++j){ this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(i = 0; i < 9; ++i){ this.addSlotToContainer(new Slot(player, i , 8 + i * 18 , 142)); } }
public sfContainerAlloySmelter(InventoryPlayer inventoryPlayer, sfTileAlloySmleter tileEntity) { this.alloyFurnace = tileEntity; this.addSlotToContainer(new Slot(tileEntity, 0, 45, 17)); this.addSlotToContainer(new Slot(tileEntity, 1, 67, 17)); this.addSlotToContainer(new Slot(tileEntity, 2, 56, 53)); this.addSlotToContainer(new SlotFurnace(inventoryPlayer.player, tileEntity, 3, 116, 35)); for(int x = 0; x < 3; x++) { for(int y = 0; y < 9; y++) { this.addSlotToContainer(new Slot(inventoryPlayer, y + x * 9 + 9, 8 + y * 18, 84 + x * 18)); } } for(int x = 0; x < 9; x++) { this.addSlotToContainer(new Slot(inventoryPlayer, x, 8 + x * 18, 142)); } }
public ContainerCutter(InventoryPlayer inventoryPlayer, TileCutter tileEntity) { this.plateCuttingMachine = tileEntity; this.addSlotToContainer(new Slot(tileEntity, 0, 56, 17)); this.addSlotToContainer(new Slot(tileEntity, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(inventoryPlayer.player, tileEntity, 2, 116, 35)); for(int x = 0; x < 3; x++) { for(int y = 0; y < 9; y++) { this.addSlotToContainer(new Slot(inventoryPlayer, y + x * 9 + 9, 8 + y * 18, 84 + x * 18)); } } for(int x = 0; x < 9; x++) { this.addSlotToContainer(new Slot(inventoryPlayer, x, 8 + x * 18, 142)); } }
public ContainerBloomery(InventoryPlayer inventoryplayer, TileEntitySmelter tileentityfurnace) { lastCookTime = 0; lastBurnTime = 0; lastItemBurnTime = 0; bloomery = tileentityfurnace; addSlotToContainer(new Slot(tileentityfurnace, 0, 56, 46));//FUEL addSlotToContainer(new Slot(tileentityfurnace, 1, 79, 17));//INPUT addSlotToContainer(new Slot(tileentityfurnace, 2, 102, 46));//COAL addSlotToContainer(new SlotFurnace(inventoryplayer.player, //OUTPUT tileentityfurnace, bloomery.getOutSlot(), 79, 53)); for (int i = 0; i < 3; i++) { for (int k = 0; k < 9; k++) { addSlotToContainer(new Slot(inventoryplayer, k + i * 9 + 9, 8 + k * 18, 84 + i * 18)); } } for (int j = 0; j < 9; j++) { addSlotToContainer(new Slot(inventoryplayer, j, 8 + j * 18, 142)); } }
public ContainerOven(InventoryPlayer user, TileEntityOven tile) { tile.openChest(); this.oven = tile; this.addSlotToContainer(new Slot(tile, 0, 56, 17)); this.addSlotToContainer(new Slot(tile, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(user.player, tile, 2, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(user, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(user, i, 8 + i * 18, 142)); } }
public ContainerSmasher(InventoryPlayer par1InventoryPlayer, TileEntityTectonicSmasher par2TileEntityFurnace) { this.smasher = par2TileEntityFurnace; this.addSlotToContainer(new Slot(par2TileEntityFurnace, 0, 51, 21)); this.addSlotToContainer(new Slot(par2TileEntityFurnace, 1, 11, 55)); this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntityFurnace, 2, 109, 22)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(par1InventoryPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(par1InventoryPlayer, i, 8 + i * 18, 142)); } }
public ContainerTectoOven(InventoryPlayer inventory, TileEntityTectonicOven tileEntity) { this.tectoOven = tileEntity; this.addSlotToContainer(new Slot(tileEntity, 0, 51, 21)); //energy this.addSlotToContainer(new Slot(tileEntity, 1, 8, 58)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileEntity, 2, 109, 22)); this.addSlotToContainer(new Slot(tileEntity, 3, 150, 9)); this.addSlotToContainer(new Slot(tileEntity, 4, 150, 33)); this.addSlotToContainer(new Slot(tileEntity, 5, 150, 57)); for(int i = 0; i < 3; i++) { for(int j = 0; j < 9; j++){ this.addSlotToContainer(new Slot(inventory, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(int i = 0; i < 9; i++) { this.addSlotToContainer(new Slot(inventory, i, 8 + i * 18, 142)); } }
public ContainerSilverFurnace(InventoryPlayer inventory, TileEntitySilverFurnace tileentity){ this.silverFurnace = tileentity; this.addSlotToContainer(new Slot(tileentity, 0, 56, 17)); this.addSlotToContainer(new Slot(tileentity, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileentity, 2, 116, 35)); for(int i = 0; i < 3; i++){ for(int j = 0; j < 9; j++){ this.addSlotToContainer(new Slot(inventory, j + i*9 + 9, 8 + j*18, 84 + i*18)); } } for(int i = 0; i < 9; i++){ this.addSlotToContainer(new Slot(inventory, i, 8 + i*18, 142)); } }
public ContainerSilverInfuser(InventoryPlayer inventory, TileEntitySilverInfuser tileentity){ this.silverInfuser = tileentity; this.addSlotToContainer(new Slot(tileentity, 0, 56, 17)); this.addSlotToContainer(new Slot(tileentity, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileentity, 2, 116, 35)); for(int i = 0; i < 3; i++){ for(int j = 0; j < 9; j++){ this.addSlotToContainer(new Slot(inventory, j + i*9 + 9, 8 + j*18, 84 + i*18)); } } for(int i = 0; i < 9; i++){ this.addSlotToContainer(new Slot(inventory, i, 8 + i*18, 142)); } }
public ContainerPasswordFurnace(TileEntityPasswordFurnace te, InventoryPlayer inventory) { this.tilePasswordFurnace = te; this.addSlotToContainer(new Slot(this.tilePasswordFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(this.tilePasswordFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(inventory.player, this.tilePasswordFurnace, 2, 116, 35)); int i; for(i = 0; i < 3; ++i) { for(int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(inventory, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(inventory, i, 8 + i * 18, 142)); } }
public ContainerPrivateFurnace(TileEntityPrivateFurnace te, InventoryPlayer inventory) { this.tilePrivateFurnace = te; this.addSlotToContainer(new Slot(this.tilePrivateFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(this.tilePrivateFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(inventory.player, this.tilePrivateFurnace, 2, 116, 35)); int i; for(i = 0; i < 3; ++i) { for(int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(inventory, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(inventory, i, 8 + i * 18, 142)); } }
public ContainerLeadFurnace(InventoryPlayer player, TileEntityLeadFurnace TileEntityLeadFurnace){ this.tileFurnace = TileEntityLeadFurnace; this.addSlotToContainer(new Slot(TileEntityLeadFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(TileEntityLeadFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(player.player, TileEntityLeadFurnace, 2, 116, 35)); int i; for(i = 0; i < 3; ++i){ for(int j = 0; j < 9; ++j){ this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(i = 0; i < 9; ++i){ this.addSlotToContainer(new Slot(player, i , 8 + i * 18 , 142)); } }
public ContainerMachinePurifier(InventoryPlayer player, TileEntityMachinePurifier TileEntityMachinePurifier){ this.tileFurnace = TileEntityMachinePurifier; this.addSlotToContainer(new Slot(TileEntityMachinePurifier, 0, 56, 17)); this.addSlotToContainer(new Slot(TileEntityMachinePurifier, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(player.player, TileEntityMachinePurifier, 2, 116, 35)); int i; for(i = 0; i < 3; ++i){ for(int j = 0; j < 9; ++j){ this.addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(i = 0; i < 9; ++i){ this.addSlotToContainer(new Slot(player, i , 8 + i * 18 , 142)); } }
public ContainerInfusionFurnace(TileEntityInfusionFurnace te, EntityPlayer p) { super(); this.te = te; this.p = p; for (int i = 0; i < 9; i++) { this.addSlotToContainer(new Slot(p.inventory, i, i * 18 + 8, 142)); } for (int x = 0; x < 9; x++) { for (int y = 0; y < 3; y++) { this.addSlotToContainer(new Slot(p.inventory, x + y * 9 + 9, 8 + 18 * x, 84 + y * 18)); } } addSlotToContainer(new Slot(te, 0, 56, 35)); // addSlotToContainer(new Slot(te, 1, 56, 53)); addSlotToContainer(new SlotFurnace(p, te, 2, 116, 35)); }
public ContainerNetworkedFurnace(TileEntityNetworkedFurnace te, EntityPlayer p) { super(); this.te = te; this.p = p; for (int i = 0; i < 9; i++) { this.addSlotToContainer(new Slot(p.inventory, i, i * 18 + 8, 142)); } for (int x = 0; x < 9; x++) { for (int y = 0; y < 3; y++) { this.addSlotToContainer(new Slot(p.inventory, x + y * 9 + 9, 8 + 18 * x, 84 + y * 18)); } } addSlotToContainer(new Slot(te, 0, 56, 35)); // addSlotToContainer(new Slot(te, 1, 56, 53)); addSlotToContainer(new SlotFurnace(p, te, 2, 116, 35)); }
public ContainerCombustor(InventoryPlayer player, TileEntityCombustor tileCombustor) { this.tileCombustor = tileCombustor; addSlotToContainer(new Slot(tileCombustor, 0, 56, 17)); addSlotToContainer(new Slot(tileCombustor, 1, 56, 53)); addSlotToContainer(new SlotFurnace(player.player, tileCombustor, 2, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { addSlotToContainer(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { addSlotToContainer(new Slot(player, i, 8 + i * 18, 142)); } }
public ContainerGrinder(InventoryPlayer inventoryPlayer, TileEntityGrinder tileEntityGrinder) { this.grinder = tileEntityGrinder; this.addSlotToContainer(new Slot(tileEntityGrinder, 0, 56, 35)); this.addSlotToContainer(new Slot(tileEntityGrinder, 1, 8, 56)); this.addSlotToContainer(new SlotFurnace(inventoryPlayer.player, tileEntityGrinder, 2, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(inventoryPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(inventoryPlayer, i, 8 + i * 18, 142)); } }
public ContainerFrictionFurnace(InventoryPlayer inventoryPlayer, TileEntityFrictionFurnace tileEntityFurnace) { this.furnace = tileEntityFurnace; this.addSlotToContainer(new Slot(tileEntityFurnace, 0, 56, 35)); this.addSlotToContainer(new Slot(tileEntityFurnace, 1, 8, 56)); this.addSlotToContainer(new SlotFurnace(inventoryPlayer.player, tileEntityFurnace, 2, 116, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(inventoryPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(inventoryPlayer, i, 8 + i * 18, 142)); } }
/** * Binds the container to the specified inventory and the players inventory. * * @param inventory */ protected void bindToInventory( final IInventory inventory ) { // Set the inventory this.inventory = inventory; // Create the input slot this.inputSlot = new SlotRestrictive( inventory, ContainerEssentiaCellTerminalBase.INPUT_INV_INDEX, ContainerEssentiaCellTerminalBase.INPUT_POSITION_X, ContainerEssentiaCellTerminalBase.INPUT_POSITION_Y ); this.addSlotToContainer( this.inputSlot ); // Create the output slot this.outputSlot = new SlotFurnace( this.player, inventory, ContainerEssentiaCellTerminalBase.OUTPUT_INV_INDEX, ContainerEssentiaCellTerminalBase.OUTPUT_POSITION_X, ContainerEssentiaCellTerminalBase.OUTPUT_POSITION_Y ); this.addSlotToContainer( this.outputSlot ); // Bind to the player's inventory this.bindPlayerInventory( this.player.inventory, ContainerEssentiaCellTerminalBase.PLAYER_INV_POSITION_Y, ContainerEssentiaCellTerminalBase.HOTBAR_INV_POSITION_Y ); }
public ContainerSteelOven(InventoryPlayer par1InventoryPlayer, TileEntitySteelController par2TileEntitySteamBoiler) { this.tileFurnace = par2TileEntitySteamBoiler; this.addSlotToContainer(new Slot(par2TileEntitySteamBoiler, 0, 32, 36)); this.addSlotToContainer(new Slot(par2TileEntitySteamBoiler, 1, 50, 18)); this.addSlotToContainer(new Slot(par2TileEntitySteamBoiler, 2, 14, 54)); this.addSlotToContainer(new Slot(par2TileEntitySteamBoiler, 3, 50, 54)); this.addSlotToContainer(new Slot(par2TileEntitySteamBoiler, 4, 14, 18)); this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntitySteamBoiler, 5, 108, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(par1InventoryPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(par1InventoryPlayer, i, 8 + i * 18, 142)); } }
public ContainerStoneMill(InventoryPlayer par1InventoryPlayer, TileEntityStoneMill par2TileEntityFurnace) { this.furnace = par2TileEntityFurnace; this.addSlotToContainer(new Slot(par2TileEntityFurnace, 0, 56, 17)); this.addSlotToContainer(new Slot(par2TileEntityFurnace, 1, 56, 53)); this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntityFurnace, 2, 116, 35)); int var3; for (var3 = 0; var3 < 3; ++var3) { for (int var4 = 0; var4 < 9; ++var4) { this.addSlotToContainer(new Slot(par1InventoryPlayer, var4 + var3 * 9 + 9, 8 + var4 * 18, 84 + var3 * 18)); } } for (var3 = 0; var3 < 9; ++var3) { this.addSlotToContainer(new Slot(par1InventoryPlayer, var3, 8 + var3 * 18, 142)); } }
public ContainerKiln(InventoryPlayer par1InventoryPlayer, TileEntityKiln par2TileEntityFurnace) { this.furnace = par2TileEntityFurnace; this.addSlotToContainer(new Slot(par2TileEntityFurnace, 0, 38, 11)); this.addSlotToContainer(new Slot(par2TileEntityFurnace, 1, 16, 33)); this.addSlotToContainer(new Slot(par2TileEntityFurnace, 2, 38, 33)); this.addSlotToContainer(new Slot(par2TileEntityFurnace, 3, 59, 33)); this.addSlotToContainer(new Slot(par2TileEntityFurnace, 4, 38, 54)); this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntityFurnace, 5, 116, 35)); int var3; for (var3 = 0; var3 < 3; ++var3) { for (int var4 = 0; var4 < 9; ++var4) { this.addSlotToContainer(new Slot(par1InventoryPlayer, var4 + var3 * 9 + 9, 8 + var4 * 18, 84 + var3 * 18)); } } for (var3 = 0; var3 < 9; ++var3) { this.addSlotToContainer(new Slot(par1InventoryPlayer, var3, 8 + var3 * 18, 142)); } }
public ContainerCompressor(InventoryPlayer par1InventoryPlayer, TileEntityCompressor par2TileEntityFurnace) { this.furnace = par2TileEntityFurnace; this.addSlotToContainer(new Slot(par2TileEntityFurnace, 0, 56, 35)); this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntityFurnace, 1, 116, 35)); int var3; for (var3 = 0; var3 < 3; ++var3) { for (int var4 = 0; var4 < 9; ++var4) { this.addSlotToContainer(new Slot(par1InventoryPlayer, var4 + var3 * 9 + 9, 8 + var4 * 18, 84 + var3 * 18)); } } for (var3 = 0; var3 < 9; ++var3) { this.addSlotToContainer(new Slot(par1InventoryPlayer, var3, 8 + var3 * 18, 142)); } }
public ContainerSmeltry(InventoryPlayer par1InventoryPlayer, TileEntitySmeltry par2TileEntitySmeltry) { this.tileFurnace = par2TileEntitySmeltry; this.addSlotToContainer(new Slot(par2TileEntitySmeltry, 0, 81, 7)); this.addSlotToContainer(new Slot(par2TileEntitySmeltry, 1, 81, 30)); this.addSlotToContainer(new Slot(par2TileEntitySmeltry, 2, 116, 31)); this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntitySmeltry, 3, 82, 58)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(par1InventoryPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(par1InventoryPlayer, i, 8 + i * 18, 142)); } }
public ContainerSteamCrusher(InventoryPlayer par1InventoryPlayer, TileEntitySteamCrusher par2TileEntitySteamBoiler) { this.tileFurnace = par2TileEntitySteamBoiler; this.addSlotToContainer(new Slot(par2TileEntitySteamBoiler, 0, 14, 35)); this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntitySteamBoiler, 1, 75, 35)); int i; for (i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(par1InventoryPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(par1InventoryPlayer, i, 8 + i * 18, 142)); } }
public ContainerAlabasterOven(InventoryPlayer inventory, TileEntityAlabasterOven tileentity){ this.alabasterOven = tileentity; this.addSlotToContainer(new Slot(tileentity, 0, 56, 35)); this.addSlotToContainer(new Slot(tileentity, 1, 8, 62)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileentity, 2, 116, 35)); for (int i = 0; i < 3; i++){ for (int j = 0; j < 9; j++){ this.addSlotToContainer(new Slot(inventory, j + i*9 + 9, 8 + j*18, 94 + i*18)); } } for (int i = 0; i < 9; i++){ this.addSlotToContainer(new Slot(inventory, i, 8 + i*18, 142)); } }
public ContainerElderFurnace(InventoryPlayer inventory, TileEntityElderFurnace tileentity) { this.elderFurnace = tileentity; this.addSlotToContainer(new Slot(tileentity, 0, 56, 35)); this.addSlotToContainer(new Slot(tileentity, 1, 8, 62)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileentity, 2, 116, 35)); for(int i = 0; i < 3; i++) { for(int j = 0; j < 9; j++) { this.addSlotToContainer(new Slot(inventory, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(int i = 0; i < 9; i++) { this.addSlotToContainer(new Slot(inventory, i, 8 + i * 18, 142)); } }
public ContainerMagmaFurnace(InventoryPlayer inventory, TileEntity entity) { if (entity instanceof TileEntityMagmaFurnace) this.entity = (TileEntityMagmaFurnace) entity; this.addSlotToContainer(new Slot((IInventory) entity, 0, 46, 35)); this.addSlotToContainer(new SlotFurnace(inventory.player, (IInventory) entity, 1, 106, 35)); this.addSlotToContainer(new SlotFurnace(inventory.player, (IInventory) entity, 2, 133, 35)); for (int i = 0; i < 3; ++i) { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(inventory, j + i * 9 + 9, j * 18 + 8, 84 + i * 18)); } } for (int i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(inventory, i, i * 18 + 8, 142)); } }
public ContainerFurnace(InventoryPlayer p_i1812_1_, TileEntityFurnace p_i1812_2_) { this.field_75158_e = p_i1812_2_; this.func_75146_a(new Slot(p_i1812_2_, 0, 56, 17)); this.func_75146_a(new Slot(p_i1812_2_, 1, 56, 53)); this.func_75146_a(new SlotFurnace(p_i1812_1_.field_70458_d, p_i1812_2_, 2, 116, 35)); int var3; for(var3 = 0; var3 < 3; ++var3) { for(int var4 = 0; var4 < 9; ++var4) { this.func_75146_a(new Slot(p_i1812_1_, var4 + var3 * 9 + 9, 8 + var4 * 18, 84 + var3 * 18)); } } for(var3 = 0; var3 < 9; ++var3) { this.func_75146_a(new Slot(p_i1812_1_, var3, 8 + var3 * 18, 142)); } }
public ContainerNytFurnace(InventoryPlayer inventory, TileEntityNytFurnace tileentity){ this.nytFurnace = tileentity; this.addSlotToContainer(new Slot(tileentity, 0, 56, 35)); this.addSlotToContainer(new Slot(tileentity, 1, 8, 56)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileentity, 2, 116, 35)); for(int i = 0; i < 3; i++){ for(int j = 0; j < 9; j++){ this.addSlotToContainer(new Slot(inventory, j + i*9 + 9, 8 + j*18, 84 + i*18)); } } for(int i = 0; i < 9; i++){ this.addSlotToContainer(new Slot(inventory, i, 8 + i*18, 142)); } }