Package buildcraft.core.builders

Examples of buildcraft.core.builders.IBuildingItemsProvider


    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();
View Full Code Here

TOP

Related Classes of buildcraft.core.builders.IBuildingItemsProvider

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.