customRenderItem.setRenderManager(RenderManager.instance);
}
public void render(TileEntity tile, double x, double y, double z) {
IBuildingItemsProvider provider = (IBuildingItemsProvider) tile;
GL11.glPushMatrix();
GL11.glTranslated(x, y, z);
GL11.glTranslated(-tile.xCoord, -tile.yCoord, -tile.zCoord);
if (provider.getBuilders() != null) {
for (BuildingItem i : provider.getBuilders()) {
doRenderItem(i, 1.0F);
}
}
GL11.glPopMatrix();