Search in sources :

Example 1 with RenderLaunchingArrow

use of convenientadditions.entity.launchingArrow.RenderLaunchingArrow in project ConvenientAdditions by Necr0.

the class ClientProxy method registerRenderers.

@Override
public void registerRenderers() {
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityComposter.class, new RenderComposter());
    RenderingRegistry.registerEntityRenderingHandler(EntityLaunchingArrow.class, new IRenderFactory<EntityLaunchingArrow>() {

        @Override
        public Render<EntityLaunchingArrow> createRenderFor(RenderManager manager) {
            return new RenderLaunchingArrow(manager);
        }
    });
}
Also used : RenderComposter(convenientadditions.block.composter.render.RenderComposter) Render(net.minecraft.client.renderer.entity.Render) RenderLaunchingArrow(convenientadditions.entity.launchingArrow.RenderLaunchingArrow) EntityLaunchingArrow(convenientadditions.entity.launchingArrow.EntityLaunchingArrow) RenderManager(net.minecraft.client.renderer.entity.RenderManager)

Aggregations

RenderComposter (convenientadditions.block.composter.render.RenderComposter)1 EntityLaunchingArrow (convenientadditions.entity.launchingArrow.EntityLaunchingArrow)1 RenderLaunchingArrow (convenientadditions.entity.launchingArrow.RenderLaunchingArrow)1 Render (net.minecraft.client.renderer.entity.Render)1 RenderManager (net.minecraft.client.renderer.entity.RenderManager)1