Package colonies.lohikaarme.src

Examples of colonies.lohikaarme.src.GuiTownHall


  public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
  {
            switch(ID){
            case 0:             
              if (world.getBlockTileEntity(x,y,z) instanceof TileEntityTownHall) {
                return new GuiTownHall((TileEntityTownHall)world.getBlockTileEntity(x,y,z), player.inventory);
              } else if (world.getBlockTileEntity(x,y,z) instanceof TileEntityColoniesChest) {
                return new GuiColoniesChest((TileEntityColoniesChest)world.getBlockTileEntity(x,y,z), player.inventory);
              }            
            case 4: return new GuiResearchBlock(player.inventory, (TileEntityResearchBlock) world.getBlockTileEntity(x,y,z));
            case 10: return new GuiTownName((TileEntityColoniesChest)world.getBlockTileEntity(x,y,z),player.inventory);
View Full Code Here

TOP

Related Classes of colonies.lohikaarme.src.GuiTownHall

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.