Search in sources :

Example 1 with RenderSnowball

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());
}
Also used : RenderVMonkey(net.tropicraft.core.client.entity.render.RenderVMonkey) RenderDolphin(net.tropicraft.core.client.entity.render.RenderDolphin) RenderUmbrella(net.tropicraft.core.client.entity.render.RenderUmbrella) RenderBeachFloat(net.tropicraft.core.client.entity.render.RenderBeachFloat) RenderLostMask(net.tropicraft.core.client.entity.render.RenderLostMask) RenderIguana(net.tropicraft.core.client.entity.render.RenderIguana) RenderFishingLure(net.tropicraft.core.client.entity.render.RenderFishingLure) RenderTropicalFish(net.tropicraft.core.client.entity.render.RenderTropicalFish) RenderTropiSpider(net.tropicraft.core.client.entity.render.RenderTropiSpider) RenderLavaBall(net.tropicraft.core.client.entity.render.RenderLavaBall) RenderTropiSkeleton(net.tropicraft.core.client.entity.render.RenderTropiSkeleton) RenderFailgull(net.tropicraft.core.client.entity.render.RenderFailgull) RenderManOWar(net.tropicraft.core.client.entity.render.RenderManOWar) RenderPoisonBlot(net.tropicraft.core.client.entity.render.RenderPoisonBlot) RenderSeahorse(net.tropicraft.core.client.entity.render.RenderSeahorse) RenderLure(net.tropicraft.core.client.entity.render.RenderLure) RenderStarfish(net.tropicraft.core.client.entity.render.RenderStarfish) RenderSeaUrchin(net.tropicraft.core.client.entity.render.RenderSeaUrchin) RenderBambooItemFrame(net.tropicraft.core.client.entity.render.RenderBambooItemFrame) RenderWallItem(net.tropicraft.core.client.entity.render.RenderWallItem) RenderTropiCreeper(net.tropicraft.core.client.entity.render.RenderTropiCreeper) RenderMarlin(net.tropicraft.core.client.entity.render.RenderMarlin) RenderTreeFrog(net.tropicraft.core.client.entity.render.RenderTreeFrog) RenderSnowball(net.minecraft.client.renderer.entity.RenderSnowball) RenderEIH(net.tropicraft.core.client.entity.render.RenderEIH) RenderAshen(net.tropicraft.core.client.entity.render.RenderAshen) RenderEagleRay(net.tropicraft.core.client.entity.render.RenderEagleRay) RenderEgg(net.tropicraft.core.client.entity.render.RenderEgg) RenderShark(net.tropicraft.core.client.entity.render.RenderShark) RenderChair(net.tropicraft.core.client.entity.render.RenderChair) RenderSeaTurtle(net.tropicraft.core.client.entity.render.RenderSeaTurtle) RenderKoaMan(net.tropicraft.core.client.entity.render.RenderKoaMan)

Example 2 with RenderSnowball

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());
}
Also used : RenderSnowball(net.minecraft.client.renderer.entity.RenderSnowball) ItemStack(net.minecraft.item.ItemStack) SideOnly(net.minecraftforge.fml.relauncher.SideOnly)

Aggregations

RenderSnowball (net.minecraft.client.renderer.entity.RenderSnowball)2 ItemStack (net.minecraft.item.ItemStack)1 SideOnly (net.minecraftforge.fml.relauncher.SideOnly)1 RenderAshen (net.tropicraft.core.client.entity.render.RenderAshen)1 RenderBambooItemFrame (net.tropicraft.core.client.entity.render.RenderBambooItemFrame)1 RenderBeachFloat (net.tropicraft.core.client.entity.render.RenderBeachFloat)1 RenderChair (net.tropicraft.core.client.entity.render.RenderChair)1 RenderDolphin (net.tropicraft.core.client.entity.render.RenderDolphin)1 RenderEIH (net.tropicraft.core.client.entity.render.RenderEIH)1 RenderEagleRay (net.tropicraft.core.client.entity.render.RenderEagleRay)1 RenderEgg (net.tropicraft.core.client.entity.render.RenderEgg)1 RenderFailgull (net.tropicraft.core.client.entity.render.RenderFailgull)1 RenderFishingLure (net.tropicraft.core.client.entity.render.RenderFishingLure)1 RenderIguana (net.tropicraft.core.client.entity.render.RenderIguana)1 RenderKoaMan (net.tropicraft.core.client.entity.render.RenderKoaMan)1 RenderLavaBall (net.tropicraft.core.client.entity.render.RenderLavaBall)1 RenderLostMask (net.tropicraft.core.client.entity.render.RenderLostMask)1 RenderLure (net.tropicraft.core.client.entity.render.RenderLure)1 RenderManOWar (net.tropicraft.core.client.entity.render.RenderManOWar)1 RenderMarlin (net.tropicraft.core.client.entity.render.RenderMarlin)1