Package buildcraft.core.render.RenderingEntityBlocks

Examples of buildcraft.core.render.RenderingEntityBlocks.EntityRenderIndex


      return FMLClientHandler.instance().getClient().theWorld;
    }
   
  @Override
  public void registerBlockRenderers() {
    RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(UsefullThings.usefullEngineBlock, 0),
        new RenderEngine("/gfx/base_cooled_combustion.png"));
    RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(UsefullThings.usefullEngineBlock, 1),
        new RenderEngine(DefaultProps.TEXTURE_PATH_BLOCKS + "/gfx/base_efficient.png"));
  }
View Full Code Here


      ClientRegistry.bindTileEntitySpecialRenderer(TileTank.class, new RenderTank());
    }

    if (BuildCraftFactory.refineryBlock != null) {
      ClientRegistry.bindTileEntitySpecialRenderer(TileRefinery.class, new RenderRefinery());
      RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(BuildCraftFactory.refineryBlock, 0), new RenderRefinery());
    }

    if (BuildCraftFactory.hopperBlock != null) {
      ClientRegistry.bindTileEntitySpecialRenderer(TileHopper.class, new RenderHopper());
      RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(BuildCraftFactory.hopperBlock, 0), new RenderHopper());
    }

    ClientRegistry.bindTileEntitySpecialRenderer(TileQuarry.class, new RenderBuilder());
  }
View Full Code Here

  @Override
  public void registerBlockRenderers() {
    //RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(BuildCraftEnergy.emitterBlock, 0), new RenderEnergyEmitter());
    //TODO Update me to grab differing trunk textures
    RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(BuildCraftEnergy.engineBlock, 0), new RenderEngine(TileEngine.BASE_TEXTURES[0], TileEngine.CHAMBER_TEXTURES[0], TileEngine.TRUNK_BLUE_TEXTURE));
    RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(BuildCraftEnergy.engineBlock, 1), new RenderEngine(TileEngine.BASE_TEXTURES[1], TileEngine.CHAMBER_TEXTURES[1], TileEngine.TRUNK_BLUE_TEXTURE));
    RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(BuildCraftEnergy.engineBlock, 2), new RenderEngine(TileEngine.BASE_TEXTURES[2], TileEngine.CHAMBER_TEXTURES[2], TileEngine.TRUNK_BLUE_TEXTURE));
    RenderingEntityBlocks.blockByEntityRenders.put(new EntityRenderIndex(BuildCraftEnergy.engineBlock, 3), new RenderEngine(TileEngine.BASE_TEXTURES[3], TileEngine.CHAMBER_TEXTURES[3], TileEngine.TRUNK_TEXTURES[3]));
  }
View Full Code Here

TOP

Related Classes of buildcraft.core.render.RenderingEntityBlocks.EntityRenderIndex

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.