use of buildcraft.core.builders.IBuildingItemsProvider in project BuildCraft by BuildCraft.
the class RenderBuildingItems method render.
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.getPos().getX(), -tile.getPos().getY(), -tile.getPos().getZ());
if (provider.getBuilders() != null) {
synchronized (provider.getBuilders()) {
for (BuildingItem i : provider.getBuilders()) {
doRenderItem(i, 1.0F);
}
}
}
GL11.glPopMatrix();
}
Aggregations