Search in sources :

Example 1 with RenderBombBlock

use of icbm.classic.client.render.tile.RenderBombBlock in project ICBM-Classic by BuiltBrokenModding.

the class ClientProxy method init.

@Override
public void init() {
    super.init();
    RenderingRegistry.registerEntityRenderingHandler(EntityFlyingBlock.class, new RenderEntityBlock());
    RenderingRegistry.registerEntityRenderingHandler(EntityFragments.class, new RenderShrapnel());
    MinecraftForgeClient.registerItemRenderer(ICBMClassic.itemRocketLauncher, new RenderRocketLauncher());
    RenderMissile renderMissile = new RenderMissile(0.5F);
    MinecraftForgeClient.registerItemRenderer(ICBMClassic.itemMissile, renderMissile);
    RenderBombBlock bombRender = new RenderBombBlock();
    RenderingRegistry.registerBlockHandler(bombRender);
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityExplosive.class, bombRender);
    RenderingRegistry.registerEntityRenderingHandler(EntityExplosive.class, new RenderEntityExplosive());
    RenderingRegistry.registerEntityRenderingHandler(EntityMissile.class, renderMissile);
    RenderingRegistry.registerEntityRenderingHandler(EntityExplosion.class, new RenderExplosion());
    RenderingRegistry.registerEntityRenderingHandler(EntityLightBeam.class, new RenderLightBeam());
    RenderingRegistry.registerEntityRenderingHandler(EntityGrenade.class, new RenderGrenade());
    RenderingRegistry.registerEntityRenderingHandler(EntityBombCart.class, new RenderMinecart());
}
Also used : RenderMissile(icbm.classic.client.render.RenderMissile) RenderBombBlock(icbm.classic.client.render.tile.RenderBombBlock) RenderMinecart(net.minecraft.client.renderer.entity.RenderMinecart) RenderRocketLauncher(icbm.classic.client.render.item.RenderRocketLauncher)

Aggregations

RenderMissile (icbm.classic.client.render.RenderMissile)1 RenderRocketLauncher (icbm.classic.client.render.item.RenderRocketLauncher)1 RenderBombBlock (icbm.classic.client.render.tile.RenderBombBlock)1 RenderMinecart (net.minecraft.client.renderer.entity.RenderMinecart)1