@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
if(tileEntity instanceof TileEntityColoniesChest){
return new ContainerColoniesChest(player.inventory, (TileEntityColoniesChest) tileEntity);
} else if(tileEntity instanceof TileEntityResearchBlock){
return new ContainerResearchBlock(player.inventory, (TileEntityResearchBlock) tileEntity);
}
return null;
}