Package powercrystals.minefactoryreloaded.gui.container

Source Code of powercrystals.minefactoryreloaded.gui.container.ContainerLiquidRouter

package powercrystals.minefactoryreloaded.gui.container;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemStack;
import powercrystals.minefactoryreloaded.gui.slot.SlotFake;
import powercrystals.minefactoryreloaded.tile.machine.TileEntityLiquidRouter;

public class ContainerLiquidRouter extends ContainerFactoryInventory
{
  public ContainerLiquidRouter(TileEntityLiquidRouter router, InventoryPlayer inventoryPlayer)
  {
    super(router, inventoryPlayer);
  }
 
  @Override
  protected void addSlots()
  {
    for(int i = 0; i < 6; i++)
    {
      addSlotToContainer(new SlotFake(_te, i, 8 + i * 18, 20));
    }
  }
 
  @Override
  protected int getPlayerInventoryVerticalOffset()
  {
    return 52;
  }
 
  @Override
  public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
  {
    return null;
  }
}
TOP

Related Classes of powercrystals.minefactoryreloaded.gui.container.ContainerLiquidRouter

TOP
Copyright © 2018 www.massapi.com. 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.