use of net.minecraft.client.renderer.entity.RenderShulkerBullet in project takumicraft by TNTModders.
the class TakumiEntityCore method renderRegister.
@SideOnly(Side.CLIENT)
private static void renderRegister() {
RenderingRegistry.registerEntityRenderingHandler(EntityTakumiArrow.class, manager -> new RenderArrow<EntityArrow>(manager) {
@Override
protected ResourceLocation getEntityTexture(EntityArrow entity) {
return new ResourceLocation(TakumiCraftCore.MODID, "textures/entity/item/carrow.png");
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityTakumiSnowBall.class, manager -> new RenderSnowball<>(manager, Items.SNOWBALL, Minecraft.getMinecraft().getRenderItem()));
RenderingRegistry.registerEntityRenderingHandler(EntityTakumiExpEgg.class, manager -> new RenderSnowball<>(manager, Items.EGG, Minecraft.getMinecraft().getRenderItem()));
RenderingRegistry.registerEntityRenderingHandler(EntityTakumiTNTPrimed.class, RenderTakumiTNTPrimed::new);
RenderingRegistry.registerEntityRenderingHandler(EntityLlamaCreeperSpit.class, RenderLlamaCreeperSpit::new);
RenderingRegistry.registerEntityRenderingHandler(EntityTakumiChocolateBall.class, manager -> new RenderSnowball<>(manager, TakumiItemCore.TAKUMI_CHOCO_BALL, Minecraft.getMinecraft().getRenderItem()));
RenderingRegistry.registerEntityRenderingHandler(EntityDarkVillager.class, RenderDarkVillager::new);
RenderingRegistry.registerEntityRenderingHandler(EntityTransHomingBomb.class, manager -> new RenderShulkerBullet(manager) {
@Override
public void doRender(EntityShulkerBullet entity, double x, double y, double z, float entityYaw, float partialTicks) {
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityAttackBlock.class, RenderAttackBlock::new);
}
Aggregations