use of net.minecraft.client.renderer.entity.RenderSnowball in project Tropicraft by Tropicraft.
the class EntityRenderRegistry method init.
public static void init() {
registerEntityRender(EntityEIH.class, new RenderEIH());
registerEntityRender(EntityTropiCreeper.class, new RenderTropiCreeper());
registerEntityRender(EntityIguana.class, new RenderIguana());
registerEntityRender(EntityTreeFrog.class, new RenderTreeFrog());
registerEntityRender(EntityTropiSkeleton.class, new RenderTropiSkeleton());
registerEntityRender(EntityVMonkey.class, new RenderVMonkey(new ModelVMonkey()));
registerEntityRender(EntityMarlin.class, new RenderMarlin(new ModelMarlin(), 0.25F));
registerEntityRender(EntityLavaBall.class, new RenderLavaBall());
registerEntityRender(EntitySeahorse.class, new RenderSeahorse(new ModelSeahorse(), 0.25F));
registerEntityRender(EntityFailgull.class, new RenderFailgull(0.25F));
registerEntityRender(EntityChair.class, new RenderChair());
registerEntityRender(EntityUmbrella.class, new RenderUmbrella());
registerEntityRender(EntityBeachFloat.class, new RenderBeachFloat());
registerEntityRender(EntityCoconutGrenade.class, new RenderSnowball(Minecraft.getMinecraft().getRenderManager(), ItemRegistry.coconutBomb, Minecraft.getMinecraft().getRenderItem()));
registerEntityRender(EntityManOWar.class, new RenderManOWar(new ModelManOWar(32, 20, true), 0.35F));
registerEntityRender(EntityEagleRay.class, new RenderEagleRay());
registerEntityRender(EntitySeaUrchin.class, new RenderSeaUrchin());
registerEntityRender(EntitySeaUrchinEgg.class, new RenderEgg());
registerEntityRender(EntityStarfish.class, new RenderStarfish());
registerEntityRender(EntityStarfishEgg.class, new RenderEgg());
registerEntityRender(EntityBambooItemFrame.class, new RenderBambooItemFrame());
registerEntityRender(EntityWallItem.class, new RenderWallItem());
registerEntityRender(EntityKoaHunter.class, new RenderKoaMan(Minecraft.getMinecraft().getRenderManager(), new ModelKoaMan(), 0.5F));
// registerEntityRender(EntityWallStarfish.class, new RenderWallStarfish());
registerEntityRender(EntitySeaTurtle.class, new RenderSeaTurtle(new ModelSeaTurtle(), 0.75F));
registerEntityRender(EntitySeaTurtleEgg.class, new RenderEgg());
registerEntityRender(EntityLostMask.class, new RenderLostMask());
registerEntityRender(EntityAshenHunter.class, new RenderAshen(new ModelAshen(), 0.75F));
chestModel = new ModelScubaGear(0, EntityEquipmentSlot.CHEST);
feetModel = new ModelScubaGear(0, EntityEquipmentSlot.FEET);
legsModel = new ModelScubaGear(0, EntityEquipmentSlot.LEGS);
headModel = new ModelScubaGear(0, EntityEquipmentSlot.HEAD);
registerEntityRender(EntityTropicalFish.class, new RenderTropicalFish());
registerEntityRender(EntityPiranha.class, new RenderTropicalFish());
registerEntityRender(EntityRiverSardine.class, new RenderTropicalFish());
registerEntityRender(EntityDolphin.class, new RenderDolphin(new ModelDolphin(), 0.25F));
registerEntityRender(EntityShark.class, new RenderShark(new ModelHammerheadShark(), 0.25F));
registerEntityRender(EntityFishHook.class, new RenderFishingLure(Minecraft.getMinecraft().getRenderManager()));
registerEntityRender(EntityHook.class, new RenderLure(Minecraft.getMinecraft().getRenderManager()));
registerEntityRender(EntityTropiSpider.class, new RenderTropiSpider());
registerEntityRender(EntityTropiSpiderEgg.class, new RenderEgg());
registerEntityRender(EntityPoisonBlot.class, new RenderPoisonBlot());
}
use of net.minecraft.client.renderer.entity.RenderSnowball in project OpenModularTurrets by OpenModularTurretsTeam.
the class ProjectileRenderers method init.
@SuppressWarnings("unchecked")
@SideOnly(Side.CLIENT)
public static void init() {
RenderingRegistry.registerEntityRenderingHandler(DisposableTurretProjectile.class, new ItemProjectileRenderer(Minecraft.getMinecraft().getRenderManager(), Minecraft.getMinecraft().getRenderItem()));
RenderingRegistry.registerEntityRenderingHandler(RocketProjectile.class, new RocketRenderer());
RenderingRegistry.registerEntityRenderingHandler(BulletProjectile.class, new RenderSnowball(Minecraft.getMinecraft().getRenderManager(), new ItemStack(ModItems.usableMetaItem, 1, 0).getItem(), Minecraft.getMinecraft().getRenderItem()));
RenderingRegistry.registerEntityRenderingHandler(GrenadeProjectile.class, new RenderSnowball(Minecraft.getMinecraft().getRenderManager(), new ItemStack(ModItems.ammoMetaItem, 1, 3).getItem(), Minecraft.getMinecraft().getRenderItem()));
RenderingRegistry.registerEntityRenderingHandler(BlazingClayProjectile.class, new RenderSnowball(Minecraft.getMinecraft().getRenderManager(), new ItemStack(ModItems.ammoMetaItem, 1, 0).getItem(), Minecraft.getMinecraft().getRenderItem()));
RenderingRegistry.registerEntityRenderingHandler(LaserProjectile.class, new LaserRenderer());
}
Aggregations