Package buildcraft.energy.render

Examples of buildcraft.energy.render.RenderEngine


{
 
  @Override
  public void registerRenderInformation() {
    MinecraftForgeClient.preloadTexture("/gfx/usefullthings.png");
    ClientRegistry.bindTileEntitySpecialRenderer(TileUsefullEngine.class, new RenderEngine());
  }
View Full Code Here


    }
   
  @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

public class EnergyProxyClient extends EnergyProxy {

  @Override
  public void registerTileEntities() {
    super.registerTileEntities();
    ClientRegistry.bindTileEntitySpecialRenderer(TileEngine.class, new RenderEngine());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEnergyEmitter.class, new RenderEnergyEmitter());
  }
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.energy.render.RenderEngine

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.