Package net.minecraft.inventory

Examples of net.minecraft.inventory.SlotFurnace


  {
    this.inventoryTileEntity = inventoryTileEntity;
    // Input Slot accepts all FluidContainers
    addSlotToContainer(new SlotRespective(inventoryTileEntity, 0, 8, 74));
    // Input Slot accepts nothing
    addSlotToContainer(new SlotFurnace(player, inventoryTileEntity, 1, 26, 74));

    bindPlayerInventory(player.inventory);
  }
View Full Code Here


    public FurnaceContainer(InventoryPlayer par1InventoryPlayer, NetherrackFurnaceLogic 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 i;

        for (i = 0; i < 3; ++i)
        {
            for (int j = 0; j < 9; ++j)
View Full Code Here

    public ContainerResearchBlock(InventoryPlayer par1InventoryPlayer, TileEntityResearchBlock par2TileEntityResearchBlock)
    {
        this.furnace = par2TileEntityResearchBlock;
        this.addSlotToContainer(new Slot(par2TileEntityResearchBlock, 0, 56, 17));
        this.addSlotToContainer(new Slot(par2TileEntityResearchBlock, 1, 56, 53));
        this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, par2TileEntityResearchBlock, 2, 116, 35));
        int var3;

        for (var3 = 0; var3 < 3; ++var3)
        {
            for (int var4 = 0; var4 < 9; ++var4)
View Full Code Here

    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 slotX;

    for(slotX = 0; slotX < 3; ++slotX)
    {
View Full Code Here

        // Optional
        slotContentsList = CircuitFabricatorRecipes.slotValidItems.get(4);
        this.addSlotToContainer(new SlotSpecific(tileEntity, 5, 145, 20, slotContentsList.toArray(new ItemStack[slotContentsList.size()])));

        // Smelting result
        this.addSlotToContainer(new SlotFurnace(playerInv.player, tileEntity, 6, 152, 86));

        int slot;

        for (slot = 0; slot < 3; ++slot)
        {
View Full Code Here

        // Battery Slot
        this.addSlotToContainer(new SlotSpecific(tileEntity, 0, 55, 75, ItemElectricBase.class));

        // Smelting result
        this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, tileEntity, 1, 138, 30));
        this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, tileEntity, 2, 138, 48));

        int var3;

        for (var3 = 0; var3 < 3; ++var3)
        {
View Full Code Here

        // To be smelted
        this.addSlotToContainer(new Slot(tileEntity, 1, 56, 25));

        // Smelting result
        this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, tileEntity, 2, 109, 25));
        int var3;

        for (var3 = 0; var3 < 3; ++var3)
        {
            for (int var4 = 0; var4 < 9; ++var4)
View Full Code Here

        // Coal slot
        this.addSlotToContainer(new Slot(tileEntity, 0, 55, 75));

        // Smelting result
        this.addSlotToContainer(new SlotFurnace(par1InventoryPlayer.player, tileEntity, 1, 138, 38));
        int var3;

        for (var3 = 0; var3 < 3; ++var3)
        {
            for (int var4 = 0; var4 < 9; ++var4)
View Full Code Here

    public ContainerBlastFurnace(InventoryPlayer player, TileBlastFurnace tile) {
        super(tile);
        this.furnace = tile;
        this.addSlot(new SlotStackFilter(TileBlastFurnace.INPUT_FILTER, tile, 0, 56, 17));
        this.addSlot(new SlotStackFilter(TileBlastFurnace.FUEL_FILTER, tile, 1, 56, 53));
        this.addSlot(new SlotFurnace(player.player, tile, 2, 116, 35));
        int var3;

        for (var3 = 0; var3 < 3; ++var3) {
            for (int var4 = 0; var4 < 9; ++var4) {
                this.addSlot(new Slot(player, var4 + var3 * 9 + 9, 8 + var4 * 18, 84 + var3 * 18));
 
View Full Code Here

                addSlot(new SlotSmelting(tile, i * 3 + k, 8 + k * 18, 17 + i * 18));
            }
        }
        for (int i = 0; i < 3; i++) {
            for (int k = 0; k < 3; k++) {
                addSlot(new SlotFurnace(invPlayer.player, tile, 9 + i * 3 + k, 116 + k * 18, 17 + i * 18));
            }
        }

        for (int i = 0; i < 3; i++) {
            for (int k = 0; k < 9; k++) {
View Full Code Here

TOP

Related Classes of net.minecraft.inventory.SlotFurnace

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.