Package colonies.src

Examples of colonies.src.GuiResearchBlock


              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);
            default: return new GuiHouse((TileEntityColoniesChest)world.getBlockTileEntity(x,y,z),player.inventory);
            }
    }
View Full Code Here

TOP

Related Classes of colonies.src.GuiResearchBlock

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.