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

项目:mo-zombies    文件:ClientProxy.java   
public void registerRenderThings()
{
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieNotch.class, new RenderZombieNotch(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieMiner.class, new RenderZombieMiner(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieChef.class, new RenderZombieChef(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieCreeper.class, new RenderZombieCreeper(new ModelCreeper(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombiePirate.class, new RenderZombiePirate(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombiePa.class, new RenderZombiePa(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityNetherZombie.class, new RenderNetherZombie(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieCyborg.class, new RenderZombieCyborg(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieDwarf.class, new RenderZombieDwarf(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieHerobrine.class, new RenderZombieHerobrine(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieKing.class, new RenderZombieKing(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityZombieKnight.class, new RenderZombieKnight(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntityDiscoZombie.class, new RenderDiscoZombie(new ModelZombie(), 0));
    RenderingRegistry.registerEntityRenderingHandler(EntitySurvivor.class, new RenderSurvivor(new ModelBiped(), 0));
}
项目:Soul-Forest    文件:InitEntities.java   
public static void registerRenderers()
   {
// Renderer Registry
// Renderers for mobs
RenderingRegistry.registerEntityRenderingHandler(EntityEnt.class, new RenderEnt(new ModelZombie(), 0.5F)); // The float is the size of the shadow   
RenderingRegistry.registerEntityRenderingHandler(EntityKotek.class, new RenderBlueSlime(new ModelSlime(0), new ModelSlime(10), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntitySnowCreeper.class, new RenderSnowCreeper(new ModelCreeper(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityIceFairy.class, new RenderIceFairy(new ModelFairy(), 0.5F)); 
RenderingRegistry.registerEntityRenderingHandler(EntityGroundhog.class, new RenderGroundhog(new ModelGroundhog(), 1.0F));   
RenderingRegistry.registerEntityRenderingHandler(EntityFurivoli.class, new RenderFurivoli(new ModelFurivoli(), 0.8F));  
RenderingRegistry.registerEntityRenderingHandler(EntityKingKotek.class, new RenderKingKotek(new ModelSlime(0), new ModelSlime(40), 1.0F));
RenderingRegistry.registerEntityRenderingHandler(EntityIceQueen.class, new RenderIceQueen(new ModelIceQueen(), 1.0F));
RenderingRegistry.registerEntityRenderingHandler(EntityIceQueenIllusion.class, new RenderIceQueen(new ModelIceQueen(), 1.0F));

// Renderers for throwable entities
RenderingRegistry.registerEntityRenderingHandler(EntityFrostShard.class, new RenderFrostShard(SoulItems.FrostShard.get()));
   }
项目:Backmemed    文件:ModelAdapterCreeper.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelCreeper))
    {
        return null;
    }
    else
    {
        ModelCreeper modelcreeper = (ModelCreeper)model;
        return modelPart.equals("head") ? modelcreeper.head : (modelPart.equals("armor") ? modelcreeper.creeperArmor : (modelPart.equals("body") ? modelcreeper.body : (modelPart.equals("leg1") ? modelcreeper.leg1 : (modelPart.equals("leg2") ? modelcreeper.leg2 : (modelPart.equals("leg3") ? modelcreeper.leg3 : (modelPart.equals("leg4") ? modelcreeper.leg4 : null))))));
    }
}
项目:TaleCraft    文件:NPCModelToModelBase.java   
private static void registerAll(){
    map = new HashMap<EnumNPCModel, ModelBase>();
    registerItem(EnumNPCModel.Player, new ModelPlayer(0f, false));
    registerItem(EnumNPCModel.Zombie, new ModelZombie());
    registerItem(EnumNPCModel.Villager, new ModelVillager(0f));
    registerItem(EnumNPCModel.Skeleton, new ModifiedModelSkeleton());
    registerItem(EnumNPCModel.Creeper, new ModelCreeper());
    registerItem(EnumNPCModel.Pig, new ModelPig(0f));
    registerItem(EnumNPCModel.Cow, new ModelCow());
}
项目:DecompiledMinecraft    文件:RenderCreeper.java   
public RenderCreeper(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(this));
}
项目:BaseClient    文件:RenderCreeper.java   
public RenderCreeper(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(this));
}
项目:BaseClient    文件:RenderCreeper.java   
public RenderCreeper(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(this));
}
项目:Halloween    文件:RenderCreeperween.java   
public RenderCreeperween(RenderManager renderManager)
{
    super(renderManager, new ModelCreeper(), 0.4F);
    this.addLayer(new LayerCreeperweenEyes(this));
}
项目:Backmemed    文件:ModelAdapterCreeper.java   
public ModelBase makeModel()
{
    return new ModelCreeper();
}
项目:Backmemed    文件:RenderCreeper.java   
public RenderCreeper(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(this));
}
项目:CustomWorldGen    文件:RenderCreeper.java   
public RenderCreeper(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(this));
}
项目:ChameleonCreepersMod    文件:RenderChameleonCreeper.java   
public RenderChameleonCreeper(RenderManager renderManagerIn) throws IOException
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(new RenderCreeper(renderManager)));
}
项目:Resilience-Client-Source    文件:RenderCreeper.java   
public RenderCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目:MinExtension    文件:RenderNetherCreeper.java   
public RenderNetherCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目:MinExtension    文件:RenderEnderCreeper.java   
public RenderEnderCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目:Mankini    文件:RendererMankiniCreeper.java   
public RendererMankiniCreeper(ModelCreeper model, float shadowSize) {
super();
}
项目:ExpandedRailsMod    文件:RenderCreeper.java   
public RenderCreeper(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(this));
}
项目:AbyssalCraft    文件:RenderAntiCreeper.java   
public RenderAntiCreeper(RenderManager manager)
{
    super(manager, new ModelCreeper(), 0.5F);
}
项目:Cauldron    文件:RenderCreeper.java   
public RenderCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目:Cauldron    文件:RenderCreeper.java   
public RenderCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目:RuneCraftery    文件:RenderCreeper.java   
public RenderCreeper() {
   super(new ModelCreeper(), 0.5F);
}
项目:RuneCraftery    文件:RenderCreeper.java   
public RenderCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目:BetterNutritionMod    文件:RenderCreeper.java   
public RenderCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目:WuppyMods    文件:RenderRedCreeper.java   
public RenderRedCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
项目: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;
}
项目:Xth-uoth    文件:RenderBlighter.java   
public RenderBlighter() {
    super(new ModelCreeper(), .5f);
}
项目:Xth-uoth    文件:RenderBlighter.java   
public RenderBlighter() {
    super(new ModelCreeper(), .5f);
}
项目:Soul-Forest    文件:RenderSnowCreeper.java   
public RenderSnowCreeper (ModelCreeper ModelCreeper, float f)
{
    super(ModelCreeper, f);
    model = ((ModelCreeper)mainModel);
}
项目:Mankini    文件:ClientProxy.java   
@Override
public void initRenderers() {

    RenderingRegistry.registerEntityRenderingHandler(EntityMankiniCapsule.class, new RendererMankiniCapsule(ModItems.itemMankiniCapsule));
    RenderingRegistry.registerEntityRenderingHandler(EntityMankiniCreeper.class, new RendererMankiniCreeper(new ModelCreeper(), 0.5F));
    //RenderingRegistry.registerEntityRenderingHandler(EntityMankiniWither.class, new RendererMankiniWither(new ModelMankiniWither(), 0.5F));


}