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

项目:Resilience-Client-Source    文件:RenderWither.java   
/**
 * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then
 * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic
 * (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1,
 * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
 */
public void doRender(EntityWither par1EntityWither, double par2, double par4, double par6, float par8, float par9)
{
    BossStatus.setBossStatus(par1EntityWither, true);
    int var10 = ((ModelWither)this.mainModel).func_82903_a();

    if (var10 != this.field_82419_a)
    {
        this.field_82419_a = var10;
        this.mainModel = new ModelWither();
    }

    super.doRender((EntityLiving)par1EntityWither, par2, par4, par6, par8, par9);
}
项目:Cauldron    文件:RenderWither.java   
public void doRender(EntityWither p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)
{
    BossStatus.setBossStatus(p_76986_1_, true);
    int i = ((ModelWither)this.mainModel).func_82903_a();

    if (i != this.field_82419_a)
    {
        this.field_82419_a = i;
        this.mainModel = new ModelWither();
    }

    super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
}
项目:Cauldron    文件:RenderWither.java   
public void doRender(EntityWither p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)
{
    BossStatus.setBossStatus(p_76986_1_, true);
    int i = ((ModelWither)this.mainModel).func_82903_a();

    if (i != this.field_82419_a)
    {
        this.field_82419_a = i;
        this.mainModel = new ModelWither();
    }

    super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
}
项目:RuneCraftery    文件:RenderWither.java   
public void func_82418_a(EntityWither p_82418_1_, double p_82418_2_, double p_82418_4_, double p_82418_6_, float p_82418_8_, float p_82418_9_) {
   BossStatus.func_82824_a(p_82418_1_, true);
   int var10 = ((ModelWither)this.field_77045_g).func_82903_a();
   if(var10 != this.field_82419_a) {
      this.field_82419_a = var10;
      this.field_77045_g = new ModelWither();
   }

   super.func_77031_a(p_82418_1_, p_82418_2_, p_82418_4_, p_82418_6_, p_82418_8_, p_82418_9_);
}
项目:RuneCraftery    文件:RenderWither.java   
public void func_82418_a(EntityWither par1EntityWither, double par2, double par4, double par6, float par8, float par9)
{
    BossStatus.setBossStatus(par1EntityWither, true);
    int i = ((ModelWither)this.mainModel).func_82903_a();

    if (i != this.field_82419_a)
    {
        this.field_82419_a = i;
        this.mainModel = new ModelWither();
    }

    super.doRenderLiving(par1EntityWither, par2, par4, par6, par8, par9);
}
项目:BetterNutritionMod    文件:RenderWither.java   
public void func_82418_a(EntityWither par1EntityWither, double par2, double par4, double par6, float par8, float par9)
{
    BossStatus.setBossStatus(par1EntityWither, true);
    int i = ((ModelWither)this.mainModel).func_82903_a();

    if (i != this.field_82419_a)
    {
        this.field_82419_a = i;
        this.mainModel = new ModelWither();
    }

    super.doRenderLiving(par1EntityWither, par2, par4, par6, par8, par9);
}
项目:DecompiledMinecraft    文件:RenderWither.java   
public RenderWither(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelWither(0.0F), 1.0F);
    this.addLayer(new LayerWitherAura(this));
}
项目:BaseClient    文件:RenderWither.java   
public RenderWither(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelWither(0.0F), 1.0F);
    this.addLayer(new LayerWitherAura(this));
}
项目:BaseClient    文件:RenderWither.java   
public RenderWither(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelWither(0.0F), 1.0F);
    this.addLayer(new LayerWitherAura(this));
}
项目:Backmemed    文件:ModelAdapterWither.java   
public ModelBase makeModel()
{
    return new ModelWither(0.0F);
}
项目:Backmemed    文件:ModelAdapterWither.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelWither))
    {
        return null;
    }
    else
    {
        ModelWither modelwither = (ModelWither)model;
        String s = "body";

        if (modelPart.startsWith(s))
        {
            ModelRenderer[] amodelrenderer1 = (ModelRenderer[])((ModelRenderer[])Reflector.getFieldValue(modelwither, Reflector.ModelWither_bodyParts));

            if (amodelrenderer1 == null)
            {
                return null;
            }
            else
            {
                String s3 = modelPart.substring(s.length());
                int j = Config.parseInt(s3, -1);
                --j;
                return j >= 0 && j < amodelrenderer1.length ? amodelrenderer1[j] : null;
            }
        }
        else
        {
            String s1 = "head";

            if (modelPart.startsWith(s1))
            {
                ModelRenderer[] amodelrenderer = (ModelRenderer[])((ModelRenderer[])Reflector.getFieldValue(modelwither, Reflector.ModelWither_heads));

                if (amodelrenderer == null)
                {
                    return null;
                }
                else
                {
                    String s2 = modelPart.substring(s1.length());
                    int i = Config.parseInt(s2, -1);
                    --i;
                    return i >= 0 && i < amodelrenderer.length ? amodelrenderer[i] : null;
                }
            }
            else
            {
                return null;
            }
        }
    }
}
项目:Backmemed    文件:RenderWither.java   
public RenderWither(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelWither(0.0F), 1.0F);
    this.addLayer(new LayerWitherAura(this));
}
项目:CustomWorldGen    文件:RenderWither.java   
public RenderWither(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelWither(0.0F), 1.0F);
    this.addLayer(new LayerWitherAura(this));
}
项目:Resilience-Client-Source    文件:RenderWither.java   
public RenderWither()
{
    super(new ModelWither(), 1.0F);
    this.field_82419_a = ((ModelWither)this.mainModel).func_82903_a();
}
项目:ExpandedRailsMod    文件:RenderWither.java   
public RenderWither(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelWither(0.0F), 1.0F);
    this.addLayer(new LayerWitherAura(this));
}
项目:Cauldron    文件:RenderWither.java   
public RenderWither()
{
    super(new ModelWither(), 1.0F);
    this.field_82419_a = ((ModelWither)this.mainModel).func_82903_a();
}
项目:Cauldron    文件:RenderWither.java   
public RenderWither()
{
    super(new ModelWither(), 1.0F);
    this.field_82419_a = ((ModelWither)this.mainModel).func_82903_a();
}
项目:RuneCraftery    文件:RenderWither.java   
public RenderWither() {
   super(new ModelWither(), 1.0F);
   this.field_82419_a = ((ModelWither)this.field_77045_g).func_82903_a();
}
项目:RuneCraftery    文件:RenderWither.java   
public RenderWither()
{
    super(new ModelWither(), 1.0F);
    this.field_82419_a = ((ModelWither)this.mainModel).func_82903_a();
}
项目:BetterNutritionMod    文件:RenderWither.java   
public RenderWither()
{
    super(new ModelWither(), 1.0F);
    this.field_82419_a = ((ModelWither)this.mainModel).func_82903_a();
}