Search in sources :

Example 1 with LogisticsSolidBlockWorldRenderer

use of logisticspipes.renderer.LogisticsSolidBlockWorldRenderer in project LogisticsPipes by RS485.

the class ClientProxy method registerTileEntities.

@Override
public void registerTileEntities() {
    GameRegistry.registerTileEntity(LogisticsSolderingTileEntity.class, "logisticspipes.blocks.LogisticsSolderingTileEntity");
    GameRegistry.registerTileEntity(LogisticsPowerJunctionTileEntity.class, "logisticspipes.blocks.powertile.LogisticsPowerJuntionTileEntity");
    GameRegistry.registerTileEntity(LogisticsRFPowerProviderTileEntity.class, "logisticspipes.blocks.powertile.LogisticsRFPowerProviderTileEntity");
    GameRegistry.registerTileEntity(LogisticsIC2PowerProviderTileEntity.class, "logisticspipes.blocks.powertile.LogisticsIC2PowerProviderTileEntity");
    GameRegistry.registerTileEntity(LogisticsSecurityTileEntity.class, "logisticspipes.blocks.LogisticsSecurityTileEntity");
    GameRegistry.registerTileEntity(LogisticsCraftingTableTileEntity.class, "logisticspipes.blocks.crafting.LogisticsCraftingTableTileEntity");
    GameRegistry.registerTileEntity(LogisticsTileGenericPipe.class, LogisticsPipes.logisticsTileGenericPipeMapping);
    GameRegistry.registerTileEntity(LogisticsStatisticsTileEntity.class, "logisticspipes.blocks.stats.LogisticsStatisticsTileEntity");
    GameRegistry.registerTileEntity(LogisticsTileGenericSubMultiBlock.class, "logisticspipes.pipes.basic.LogisticsTileGenericSubMultiBlock");
    LPConstants.pipeModel = RenderingRegistry.getNextAvailableRenderId();
    LPConstants.solidBlockModel = RenderingRegistry.getNextAvailableRenderId();
    LogisticsRenderPipe lrp = new LogisticsRenderPipe();
    ClientRegistry.bindTileEntitySpecialRenderer(LogisticsTileGenericPipe.class, lrp);
    RenderingRegistry.registerBlockHandler(new LogisticsPipeWorldRenderer());
    RenderingRegistry.registerBlockHandler(new LogisticsSolidBlockWorldRenderer());
    SimpleServiceLocator.buildCraftProxy.resetItemRotation();
    SimpleServiceLocator.setRenderListHandler(new GLRenderListHandler());
}
Also used : LogisticsSolidBlockWorldRenderer(logisticspipes.renderer.LogisticsSolidBlockWorldRenderer) LogisticsPipeWorldRenderer(logisticspipes.renderer.LogisticsPipeWorldRenderer) LogisticsRenderPipe(logisticspipes.renderer.LogisticsRenderPipe) GLRenderListHandler(logisticspipes.renderer.newpipe.GLRenderListHandler)

Aggregations

LogisticsPipeWorldRenderer (logisticspipes.renderer.LogisticsPipeWorldRenderer)1 LogisticsRenderPipe (logisticspipes.renderer.LogisticsRenderPipe)1 LogisticsSolidBlockWorldRenderer (logisticspipes.renderer.LogisticsSolidBlockWorldRenderer)1 GLRenderListHandler (logisticspipes.renderer.newpipe.GLRenderListHandler)1