Java 类net.minecraft.client.model.ModelOcelot 实例源码

项目:Backmemed    文件:ModelAdapterOcelot.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelOcelot))
    {
        return null;
    }
    else
    {
        ModelOcelot modelocelot = (ModelOcelot)model;
        Map<String, Integer> map = getMapPartFields();

        if (map.containsKey(modelPart))
        {
            int i = ((Integer)map.get(modelPart)).intValue();
            return (ModelRenderer)Reflector.getFieldValue(modelocelot, Reflector.ModelOcelot_ModelRenderers, i);
        }
        else
        {
            return null;
        }
    }
}
项目:DecompiledMinecraft    文件:RenderManager.java   
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
    this.renderEngine = renderEngineIn;
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
    this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
    this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
    this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
    this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
    this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
    this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
    this.entityRenderMap.put(Entity.class, new RenderEntity(this));
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow(this));
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.snowball, itemRendererIn));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ender_pearl, itemRendererIn));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ender_eye, itemRendererIn));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.egg, itemRendererIn));
    this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.experience_bottle, itemRendererIn));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.fireworks, itemRendererIn));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
    this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
    this.entityRenderMap.put(EntityArmorStand.class, new ArmorStandRenderer(this));
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
    this.playerRenderer = new RenderPlayer(this);
    this.skinMap.put("default", this.playerRenderer);
    this.skinMap.put("slim", new RenderPlayer(this, true));
}
项目:BaseClient    文件:RenderManager.java   
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
    this.renderEngine = renderEngineIn;
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
    this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
    this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
    this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
    this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
    this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
    this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
    this.entityRenderMap.put(Entity.class, new RenderEntity(this));
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow(this));
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.snowball, itemRendererIn));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ender_pearl, itemRendererIn));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ender_eye, itemRendererIn));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.egg, itemRendererIn));
    this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.experience_bottle, itemRendererIn));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.fireworks, itemRendererIn));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
    this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
    this.entityRenderMap.put(EntityArmorStand.class, new ArmorStandRenderer(this));
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
    this.playerRenderer = new RenderPlayer(this);
    this.skinMap.put("default", this.playerRenderer);
    this.skinMap.put("slim", new RenderPlayer(this, true));
    PlayerItemsLayer.register(this.skinMap);

    if (Reflector.RenderingRegistry_loadEntityRenderers.exists())
    {
        Reflector.call(Reflector.RenderingRegistry_loadEntityRenderers, new Object[] {this.entityRenderMap});
    }
}
项目:BaseClient    文件:RenderManager.java   
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
    this.renderEngine = renderEngineIn;
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
    this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
    this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
    this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
    this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
    this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
    this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
    this.entityRenderMap.put(Entity.class, new RenderEntity(this));
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow(this));
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.snowball, itemRendererIn));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ender_pearl, itemRendererIn));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ender_eye, itemRendererIn));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.egg, itemRendererIn));
    this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.experience_bottle, itemRendererIn));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.fireworks, itemRendererIn));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
    this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
    this.entityRenderMap.put(EntityArmorStand.class, new ArmorStandRenderer(this));
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
    this.playerRenderer = new RenderPlayer(this);
    this.skinMap.put("default", this.playerRenderer);
    this.skinMap.put("slim", new RenderPlayer(this, true));
}
项目:Backmemed    文件:ModelAdapterOcelot.java   
public ModelBase makeModel()
{
    return new ModelOcelot();
}
项目:Backmemed    文件:RenderOcelot.java   
public RenderOcelot(RenderManager p_i47199_1_)
{
    super(p_i47199_1_, new ModelOcelot(), 0.4F);
}
项目:CustomWorldGen    文件:RenderManager.java   
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
    this.renderEngine = renderEngineIn;
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
    this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
    this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
    this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
    this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
    this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
    this.entityRenderMap.put(EntityShulker.class, new RenderShulker(this, new ModelShulker()));
    this.entityRenderMap.put(EntityPolarBear.class, new RenderPolarBear(this, new ModelPolarBear(), 0.7F));
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
    this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
    this.entityRenderMap.put(Entity.class, new RenderEntity(this));
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
    this.entityRenderMap.put(EntityTippedArrow.class, new RenderTippedArrow(this));
    this.entityRenderMap.put(EntitySpectralArrow.class, new RenderSpectralArrow(this));
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.SNOWBALL, itemRendererIn));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ENDER_PEARL, itemRendererIn));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ENDER_EYE, itemRendererIn));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.EGG, itemRendererIn));
    this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.EXPERIENCE_BOTTLE, itemRendererIn));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.FIREWORKS, itemRendererIn));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
    this.entityRenderMap.put(EntityDragonFireball.class, new RenderDragonFireball(this));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
    this.entityRenderMap.put(EntityShulkerBullet.class, new RenderShulkerBullet(this));
    this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
    this.entityRenderMap.put(EntityArmorStand.class, new RenderArmorStand(this));
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
    this.entityRenderMap.put(EntityAreaEffectCloud.class, new RenderAreaEffectCloud(this));
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
    this.playerRenderer = new RenderPlayer(this);
    this.skinMap.put("default", this.playerRenderer);
    this.skinMap.put("slim", new RenderPlayer(this, true));
    net.minecraftforge.fml.client.registry.RenderingRegistry.loadEntityRenderers(this, this.entityRenderMap);
}
项目:Resilience-Client-Source    文件:RenderManager.java   
private RenderManager()
{
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider());
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider());
    this.entityRenderMap.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish());
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper());
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman());
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan());
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton());
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch());
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze());
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie());
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube());
    this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast());
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager());
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem());
    this.entityRenderMap.put(EntityBat.class, new RenderBat());
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon());
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal());
    this.entityRenderMap.put(EntityWither.class, new RenderWither());
    this.entityRenderMap.put(Entity.class, new RenderEntity());
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting());
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame());
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot());
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow());
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(Items.snowball));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(Items.ender_pearl));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(Items.ender_eye));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(Items.egg));
    this.entityRenderMap.put(EntityPotion.class, new RenderSnowball(Items.potionitem, 16384));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(Items.experience_bottle));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(Items.fireworks));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull());
    this.entityRenderMap.put(EntityItem.class, new RenderItem());
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb());
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed());
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock());
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart());
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart());
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat());
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish());
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt());
    Iterator var1 = this.entityRenderMap.values().iterator();

    while (var1.hasNext())
    {
        Render var2 = (Render)var1.next();
        var2.setRenderManager(this);
    }
}
项目:ExpandedRailsMod    文件:RenderManager.java   
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
    this.renderEngine = renderEngineIn;
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
    this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
    this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
    this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
    this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
    this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
    this.entityRenderMap.put(EntityShulker.class, new RenderShulker(this, new ModelShulker()));
    this.entityRenderMap.put(EntityPolarBear.class, new RenderPolarBear(this, new ModelPolarBear(), 0.7F));
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
    this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
    this.entityRenderMap.put(Entity.class, new RenderEntity(this));
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
    this.entityRenderMap.put(EntityTippedArrow.class, new RenderTippedArrow(this));
    this.entityRenderMap.put(EntitySpectralArrow.class, new RenderSpectralArrow(this));
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.SNOWBALL, itemRendererIn));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ENDER_PEARL, itemRendererIn));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ENDER_EYE, itemRendererIn));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.EGG, itemRendererIn));
    this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.EXPERIENCE_BOTTLE, itemRendererIn));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.FIREWORKS, itemRendererIn));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
    this.entityRenderMap.put(EntityDragonFireball.class, new RenderDragonFireball(this));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
    this.entityRenderMap.put(EntityShulkerBullet.class, new RenderShulkerBullet(this));
    this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
    this.entityRenderMap.put(EntityArmorStand.class, new RenderArmorStand(this));
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
    this.entityRenderMap.put(EntityAreaEffectCloud.class, new RenderAreaEffectCloud(this));
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
    this.playerRenderer = new RenderPlayer(this);
    this.skinMap.put("default", this.playerRenderer);
    this.skinMap.put("slim", new RenderPlayer(this, true));
    net.minecraftforge.fml.client.registry.RenderingRegistry.loadEntityRenderers(this, this.entityRenderMap);
}
项目:Cauldron    文件:RenderManager.java   
private RenderManager()
{
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider());
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider());
    this.entityRenderMap.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish());
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper());
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman());
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan());
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton());
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch());
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze());
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie());
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube());
    this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast());
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager());
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem());
    this.entityRenderMap.put(EntityBat.class, new RenderBat());
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon());
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal());
    this.entityRenderMap.put(EntityWither.class, new RenderWither());
    this.entityRenderMap.put(Entity.class, new RenderEntity());
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting());
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame());
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot());
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow());
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(Items.snowball));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(Items.ender_pearl));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(Items.ender_eye));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(Items.egg));
    this.entityRenderMap.put(EntityPotion.class, new RenderSnowball(Items.potionitem, 16384));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(Items.experience_bottle));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(Items.fireworks));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull());
    this.entityRenderMap.put(EntityItem.class, new RenderItem());
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb());
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed());
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock());
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart());
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart());
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat());
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish());
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt());
    Iterator iterator = this.entityRenderMap.values().iterator();

    while (iterator.hasNext())
    {
        Render render = (Render)iterator.next();
        render.setRenderManager(this);
    }
}
项目:Cauldron    文件:RenderManager.java   
private RenderManager()
{
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider());
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider());
    this.entityRenderMap.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish());
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper());
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman());
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan());
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton());
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch());
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze());
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie());
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube());
    this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast());
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager());
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem());
    this.entityRenderMap.put(EntityBat.class, new RenderBat());
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon());
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal());
    this.entityRenderMap.put(EntityWither.class, new RenderWither());
    this.entityRenderMap.put(Entity.class, new RenderEntity());
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting());
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame());
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot());
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow());
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(Items.snowball));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(Items.ender_pearl));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(Items.ender_eye));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(Items.egg));
    this.entityRenderMap.put(EntityPotion.class, new RenderSnowball(Items.potionitem, 16384));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(Items.experience_bottle));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(Items.fireworks));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull());
    this.entityRenderMap.put(EntityItem.class, new RenderItem());
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb());
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed());
    this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock());
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart());
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart());
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat());
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish());
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt());
    Iterator iterator = this.entityRenderMap.values().iterator();

    while (iterator.hasNext())
    {
        Render render = (Render)iterator.next();
        render.setRenderManager(this);
    }
}
项目:RuneCraftery    文件:RenderManager.java   
private RenderManager() {
   this.field_78729_o.put(EntityCaveSpider.class, new RenderCaveSpider());
   this.field_78729_o.put(EntitySpider.class, new RenderSpider());
   this.field_78729_o.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
   this.field_78729_o.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
   this.field_78729_o.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
   this.field_78729_o.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
   this.field_78729_o.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
   this.field_78729_o.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
   this.field_78729_o.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
   this.field_78729_o.put(EntitySilverfish.class, new RenderSilverfish());
   this.field_78729_o.put(EntityCreeper.class, new RenderCreeper());
   this.field_78729_o.put(EntityEnderman.class, new RenderEnderman());
   this.field_78729_o.put(EntitySnowman.class, new RenderSnowMan());
   this.field_78729_o.put(EntitySkeleton.class, new RenderSkeleton());
   this.field_78729_o.put(EntityWitch.class, new RenderWitch());
   this.field_78729_o.put(EntityBlaze.class, new RenderBlaze());
   this.field_78729_o.put(EntityZombie.class, new RenderZombie());
   this.field_78729_o.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
   this.field_78729_o.put(EntityMagmaCube.class, new RenderMagmaCube());
   this.field_78729_o.put(EntityPlayer.class, new RenderPlayer());
   this.field_78729_o.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
   this.field_78729_o.put(EntityGhast.class, new RenderGhast());
   this.field_78729_o.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
   this.field_78729_o.put(EntityVillager.class, new RenderVillager());
   this.field_78729_o.put(EntityIronGolem.class, new RenderIronGolem());
   this.field_78729_o.put(EntityBat.class, new RenderBat());
   this.field_78729_o.put(EntityDragon.class, new RenderDragon());
   this.field_78729_o.put(EntityEnderCrystal.class, new RenderEnderCrystal());
   this.field_78729_o.put(EntityWither.class, new RenderWither());
   this.field_78729_o.put(Entity.class, new RenderEntity());
   this.field_78729_o.put(EntityPainting.class, new RenderPainting());
   this.field_78729_o.put(EntityItemFrame.class, new RenderItemFrame());
   this.field_78729_o.put(EntityLeashKnot.class, new RenderLeashKnot());
   this.field_78729_o.put(EntityArrow.class, new RenderArrow());
   this.field_78729_o.put(EntitySnowball.class, new RenderSnowball(Item.field_77768_aD));
   this.field_78729_o.put(EntityEnderPearl.class, new RenderSnowball(Item.field_77730_bn));
   this.field_78729_o.put(EntityEnderEye.class, new RenderSnowball(Item.field_77748_bA));
   this.field_78729_o.put(EntityEgg.class, new RenderSnowball(Item.field_77764_aP));
   this.field_78729_o.put(EntityPotion.class, new RenderSnowball(Item.field_77726_bs, 16384));
   this.field_78729_o.put(EntityExpBottle.class, new RenderSnowball(Item.field_77809_bD));
   this.field_78729_o.put(EntityFireworkRocket.class, new RenderSnowball(Item.field_92104_bU));
   this.field_78729_o.put(EntityLargeFireball.class, new RenderFireball(2.0F));
   this.field_78729_o.put(EntitySmallFireball.class, new RenderFireball(0.5F));
   this.field_78729_o.put(EntityWitherSkull.class, new RenderWitherSkull());
   this.field_78729_o.put(EntityItem.class, new RenderItem());
   this.field_78729_o.put(EntityXPOrb.class, new RenderXPOrb());
   this.field_78729_o.put(EntityTNTPrimed.class, new RenderTNTPrimed());
   this.field_78729_o.put(EntityFallingSand.class, new RenderFallingSand());
   this.field_78729_o.put(EntityMinecartTNT.class, new RenderTntMinecart());
   this.field_78729_o.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
   this.field_78729_o.put(EntityMinecart.class, new RenderMinecart());
   this.field_78729_o.put(EntityBoat.class, new RenderBoat());
   this.field_78729_o.put(EntityFishHook.class, new RenderFish());
   this.field_78729_o.put(EntityHorse.class, new RenderHorse(new ModelHorse(), 0.75F));
   this.field_78729_o.put(EntityLightningBolt.class, new RenderLightningBolt());
   Iterator var1 = this.field_78729_o.values().iterator();

   while(var1.hasNext()) {
      Render var2 = (Render)var1.next();
      var2.func_76976_a(this);
   }

}
项目:RuneCraftery    文件:RenderManager.java   
private RenderManager()
{
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider());
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider());
    this.entityRenderMap.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish());
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper());
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman());
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan());
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton());
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch());
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze());
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie());
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube());
    this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast());
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager());
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem());
    this.entityRenderMap.put(EntityBat.class, new RenderBat());
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon());
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal());
    this.entityRenderMap.put(EntityWither.class, new RenderWither());
    this.entityRenderMap.put(Entity.class, new RenderEntity());
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting());
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame());
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot());
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow());
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(Item.snowball));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(Item.enderPearl));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(Item.eyeOfEnder));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(Item.egg));
    this.entityRenderMap.put(EntityPotion.class, new RenderSnowball(Item.potion, 16384));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(Item.expBottle));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(Item.firework));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull());
    this.entityRenderMap.put(EntityItem.class, new RenderItem());
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb());
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed());
    this.entityRenderMap.put(EntityFallingSand.class, new RenderFallingSand());
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart());
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart());
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat());
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish());
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt());
    Iterator iterator = this.entityRenderMap.values().iterator();

    while (iterator.hasNext())
    {
        Render render = (Render)iterator.next();
        render.setRenderManager(this);
    }
}
项目:BetterNutritionMod    文件:RenderManager.java   
private RenderManager()
{
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider());
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider());
    this.entityRenderMap.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish());
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper());
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman());
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan());
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton());
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch());
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze());
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie());
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube());
    this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast());
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager());
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem());
    this.entityRenderMap.put(EntityBat.class, new RenderBat());
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon());
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal());
    this.entityRenderMap.put(EntityWither.class, new RenderWither());
    this.entityRenderMap.put(Entity.class, new RenderEntity());
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting());
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame());
    this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot());
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow());
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(Item.snowball));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(Item.enderPearl));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(Item.eyeOfEnder));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(Item.egg));
    this.entityRenderMap.put(EntityPotion.class, new RenderSnowball(Item.potion, 16384));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(Item.expBottle));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(Item.firework));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull());
    this.entityRenderMap.put(EntityItem.class, new RenderItem());
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb());
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed());
    this.entityRenderMap.put(EntityFallingSand.class, new RenderFallingSand());
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart());
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart());
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat());
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish());
    this.entityRenderMap.put(EntityHorse.class, new RenderHorse(new ModelHorse(), 0.75F));
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt());
    Iterator iterator = this.entityRenderMap.values().iterator();

    while (iterator.hasNext())
    {
        Render render = (Render)iterator.next();
        render.setRenderManager(this);
    }
}
项目:Veniocraft    文件:RenderManager.java   
private RenderManager()
{
    this.entityRenderMap.put(EntitySpider.class, new RenderSpider());
    this.entityRenderMap.put(EntityCaveSpider.class, new RenderSpider());
    this.entityRenderMap.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
    this.entityRenderMap.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
    this.entityRenderMap.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityVenio.class, new VenioRender(new ModelVenio(), 0.7F));
    this.entityRenderMap.put(EntityCyborg.class, new CyborgRender(new ModelCyborg(), 0.7F));
    this.entityRenderMap.put(EntityShell.class, new ShellRender(new ModelShell(), 0.3F));
    this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
    this.entityRenderMap.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
    this.entityRenderMap.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
    this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
    this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish());
    this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper());
    this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman());
    this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan());
    this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton());
    this.entityRenderMap.put(EntityWitch.class, new RenderWitch());
    this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze());
    this.entityRenderMap.put(EntityZombie.class, new RenderZombie());
    this.entityRenderMap.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
    this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube());
    this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
    this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
    this.entityRenderMap.put(EntityGhast.class, new RenderGhast());
    this.entityRenderMap.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
    this.entityRenderMap.put(EntityVillager.class, new RenderVillager());
    this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem());
    this.entityRenderMap.put(EntityLiving.class, new RenderLiving(new ModelBiped(), 0.5F));
    this.entityRenderMap.put(EntityBat.class, new RenderBat());
    this.entityRenderMap.put(EntityDragon.class, new RenderDragon());
    this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal());
    this.entityRenderMap.put(EntityWither.class, new RenderWither());
    this.entityRenderMap.put(Entity.class, new RenderEntity());
    this.entityRenderMap.put(EntityPainting.class, new RenderPainting());
    this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame());
    this.entityRenderMap.put(EntityArrow.class, new RenderArrow());
    this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(Item.snowball));
    this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(Item.enderPearl));
    this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(Item.eyeOfEnder));
    this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(Item.egg));
    this.entityRenderMap.put(EntityPotion.class, new RenderSnowball(Item.potion, 16384));
    this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(Item.expBottle));
    this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(Item.firework));
    this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(2.0F));
    this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(0.5F));
    this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull());
    this.entityRenderMap.put(EntityItem.class, new RenderItem());
    this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb());
    this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed());
    this.entityRenderMap.put(EntityFallingSand.class, new RenderFallingSand());
    this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart());
    this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
    this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart());
    this.entityRenderMap.put(EntityBoat.class, new RenderBoat());
    this.entityRenderMap.put(EntityFishHook.class, new RenderFish());
    this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt());
    Iterator iterator = this.entityRenderMap.values().iterator();

    while (iterator.hasNext())
    {
        Render render = (Render)iterator.next();
        render.setRenderManager(this);
    }
}
项目:Morph    文件:ModelHelper.java   
public static ModelRenderer getPotentialArm(ModelBase parent)
{
    if(parent != null)
    {
        Class clz = parent.getClass();
           if(armMappings.containsKey(clz))
           {
               return armMappings.get(clz);
           }
        if(clz == ModelHorse.class)
        {
            ModelHorse dummy = new ModelHorse();

            ModelRenderer leg = new ModelRenderer(dummy, 60, 29);
            leg.addBox(-1.1F, -1.0F, -2.1F, 3, 8, 4);
            leg.setRotationPoint(-4.0F, 9.0F, -8.0F);

            ModelRenderer shin = new ModelRenderer(dummy, 60, 41);
            shin.addBox(-1.1F, 0.0F, -1.6F, 3, 5, 3);
            shin.setRotationPoint(0.0F, 7.0F, 0.0F);
            leg.addChild(shin);

            ModelRenderer hoof = new ModelRenderer(dummy, 60, 51);
            hoof.addBox(-1.6F, 5.1F, -2.1F, 4, 3, 4);
            hoof.setRotationPoint(0.0F, 0.0F, 0.0F);

            shin.addChild(hoof);

            return leg;
        }
        else
        {
            while(clz != ModelBase.class && ModelBase.class.isAssignableFrom(clz))
            {
                try
                {
                    Field[] fields = clz.getDeclaredFields();
                    for(Field f : fields)
                    {
                        f.setAccessible(true);
                        if(f.getType() == ModelRenderer.class)
                        {
                            if(clz == ModelBiped.class && (f.getName().equalsIgnoreCase("bipedRightArm") || f.getName().equalsIgnoreCase("f") || f.getName().equalsIgnoreCase("field_78112_f")) || 
                                clz == ModelQuadruped.class && (f.getName().equalsIgnoreCase("leg3") || f.getName().equalsIgnoreCase("e") || f.getName().equalsIgnoreCase("field_78147_e")) ||
                                clz == ModelCreeper.class && (f.getName().equalsIgnoreCase("leg3") || f.getName().equalsIgnoreCase("f") || f.getName().equalsIgnoreCase("field_78129_f")) ||
                                clz == ModelIronGolem.class && (f.getName().equalsIgnoreCase("ironGolemRightArm") || f.getName().equalsIgnoreCase("c") || f.getName().equalsIgnoreCase("field_78177_c")) ||
                                clz == ModelSpider.class && (f.getName().equalsIgnoreCase("spiderLeg7") || f.getName().equalsIgnoreCase("j") || f.getName().equalsIgnoreCase("field_78210_j")) ||
                                clz == ModelWolf.class && (f.getName().equalsIgnoreCase("wolfLeg3") || f.getName().equalsIgnoreCase("e") || f.getName().equalsIgnoreCase("field_78182_e")) ||
                                clz == ModelOcelot.class && (f.getName().equalsIgnoreCase("ocelotFrontRightLeg") || f.getName().equalsIgnoreCase("d") || f.getName().equalsIgnoreCase("field_78157_d")) ||
                                clz != ModelBiped.class && clz != ModelQuadruped.class && clz != ModelCreeper.class && clz != ModelIronGolem.class && clz != ModelSpider.class && clz != ModelWolf.class && clz != ModelOcelot.class &&  
                                (f.getName().contains("Right") || f.getName().contains("right")) && (f.getName().contains("arm") || f.getName().contains("hand") || f.getName().contains("Arm") || f.getName().contains("Hand")))
                            {
                                ModelRenderer arm = (ModelRenderer)f.get(parent);
                                if(arm != null)
                                {
                                    return arm; // Add normal parent fields
                                }
                            }
                        }
                        else if(f.getType() == ModelRenderer[].class && clz == ModelSquid.class && (f.getName().equalsIgnoreCase("squidTentacles") || f.getName().equalsIgnoreCase("b") || f.getName().equalsIgnoreCase("field_78201_b")))
                        {
                            return ((ModelRenderer[])f.get(parent))[0];
                        }
                    }
                    clz = clz.getSuperclass();
                }
                catch(Exception e)
                {
                    throw new UnableToAccessFieldException(new String[0], e);
                }
            }
        }
    }

    return null;
}
项目:NausicaaMod    文件:ClientProxy.java   
@SideOnly(Side.CLIENT)
@Override
public void registerRenderers() {                           // This is for rendering entities and so forth
    RenderingRegistry.registerEntityRenderingHandler(Ohmu.class, new RenderOhmu(new ModelOhmu(), 0.5f));

    RenderingRegistry.registerEntityRenderingHandler(EntityNausicaaVillager.class, new RenderNausicaaVillager(new EntityNausicaaVillager(Minecraft.getMinecraft().theWorld), new ModelNPC(0F), 0.5F));
    // RenderingRegistry.registerEntityRenderingHandler(EntityNausicaaVillager.class, new RenderNausicaaVillager(new ModelBiped(0F), 0.5F));

    RenderingRegistry.registerEntityRenderingHandler(JungleJelly.class, new RenderJungleJelly(new ModelSlime(0), 0.5F));

    RenderingRegistry.registerEntityRenderingHandler(EntityFoxSquirrel.class, new RenderFoxSquirrel(new ModelOcelot(), 0.3F));//only shadowsize //wingspeed, shadowsize, scale

    RenderingRegistry.registerEntityRenderingHandler(EntitySpore.class, new RenderSpore(new ModelSpore(), 0.0F));//only shadowsize

    //Dragonfly
    RenderingRegistry.registerEntityRenderingHandler(Dragonfly.class, new RenderDragonfly(new ModelsmallInsect(), 0.3F));//only shadowsize //wingspeed, shadowsize, scale

    RenderingRegistry.registerEntityRenderingHandler(EntityBeetle.class, new RenderDragonfly(new ModelsmallInsect(), 0.3F));//only shadowsize //wingspeed, shadowsize, scale

    RenderingRegistry.registerEntityRenderingHandler(EntityGodWarrior.class, new RenderSimpleGodWarrior(new ModelOhmu(), 10F));
    //          new RenderGodWarrior(new ModelBiped(), 5F, 5F));//only shadowsize //wingspeed, shadowsize, scale


    //thin Tree :D
    //RenderingRegistry.registerBlockHandler(new RenderThinLog()); // Or 'this' if your proxy happens to be the one that implements the block render interface.

    RenderingRegistry.registerBlockHandler(new RenderText()); // Or 'this' if your proxy happens to be the one that implements the block render interface.


    //starts the keyhandler (for glider)
    FMLCommonHandler.instance().bus().register(new MookKeyHandler());


    //for poison
    //CRIT FMLCommonHandler.instance().bus().register(new Poisoner(Minecraft.getMinecraft()));
    //FMLCommonHandler.instance().bus().register(Main.instance.unpoweredGliderTickHandle);

    Main.instance.initDebug();
    tileEntities();
    networkRegisters();

    MinecraftForge.EVENT_BUS.register(new NausicaaEventHandler());


}