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

项目:Backmemed    文件:ModelAdapterBat.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelBat))
    {
        return null;
    }
    else
    {
        ModelBat modelbat = (ModelBat)model;
        return modelPart.equals("head") ? (ModelRenderer)Reflector.getFieldValue(modelbat, Reflector.ModelBat_ModelRenderers, 0) : (modelPart.equals("body") ? (ModelRenderer)Reflector.getFieldValue(modelbat, Reflector.ModelBat_ModelRenderers, 1) : (modelPart.equals("right_wing") ? (ModelRenderer)Reflector.getFieldValue(modelbat, Reflector.ModelBat_ModelRenderers, 2) : (modelPart.equals("left_wing") ? (ModelRenderer)Reflector.getFieldValue(modelbat, Reflector.ModelBat_ModelRenderers, 3) : (modelPart.equals("outer_right_wing") ? (ModelRenderer)Reflector.getFieldValue(modelbat, Reflector.ModelBat_ModelRenderers, 4) : (modelPart.equals("outer_left_wing") ? (ModelRenderer)Reflector.getFieldValue(modelbat, Reflector.ModelBat_ModelRenderers, 5) : null)))));
    }
}
项目:Resilience-Client-Source    文件:RenderBat.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(EntityBat par1EntityBat, double par2, double par4, double par6, float par8, float par9)
{
    int var10 = ((ModelBat)this.mainModel).getBatSize();

    if (var10 != this.renderedBatSize)
    {
        this.renderedBatSize = var10;
        this.mainModel = new ModelBat();
    }

    super.doRender((EntityLiving)par1EntityBat, par2, par4, par6, par8, par9);
}
项目:Runes-And-Silver    文件:RenderFairy.java   
public void func_82443_a(EntityFairy par1EntityFairy, double par2, double par4, double par6, float par8, float par9)
{
    int i = ((ModelFairy)this.mainModel).getBatSize();

    if (i != this.renderedFairySize)
    {
        this.renderedFairySize = i;
        this.mainModel = new ModelBat();
    }

    super.doRenderLiving(par1EntityFairy, par2, par4, par6, par8, par9);
}
项目:Cauldron    文件:RenderBat.java   
public void doRender(EntityBat p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)
{
    int i = ((ModelBat)this.mainModel).getBatSize();

    if (i != this.renderedBatSize)
    {
        this.renderedBatSize = i;
        this.mainModel = new ModelBat();
    }

    super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
}
项目:Cauldron    文件:RenderBat.java   
public void doRender(EntityBat p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)
{
    int i = ((ModelBat)this.mainModel).getBatSize();

    if (i != this.renderedBatSize)
    {
        this.renderedBatSize = i;
        this.mainModel = new ModelBat();
    }

    super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
}
项目:RuneCraftery    文件:RenderBat.java   
public void func_82443_a(EntityBat p_82443_1_, double p_82443_2_, double p_82443_4_, double p_82443_6_, float p_82443_8_, float p_82443_9_) {
   int var10 = ((ModelBat)this.field_77045_g).func_82889_a();
   if(var10 != this.field_82446_a) {
      this.field_82446_a = var10;
      this.field_77045_g = new ModelBat();
   }

   super.func_77031_a(p_82443_1_, p_82443_2_, p_82443_4_, p_82443_6_, p_82443_8_, p_82443_9_);
}
项目:RuneCraftery    文件:RenderBat.java   
public void func_82443_a(EntityBat par1EntityBat, double par2, double par4, double par6, float par8, float par9)
{
    int i = ((ModelBat)this.mainModel).getBatSize();

    if (i != this.renderedBatSize)
    {
        this.renderedBatSize = i;
        this.mainModel = new ModelBat();
    }

    super.doRenderLiving(par1EntityBat, par2, par4, par6, par8, par9);
}
项目:CreepyPastaCraft    文件:RenderVampireBat.java   
public void func_82443_a(EntityVampireBat entity, double par2, double par4, double par6, float par8, float par9)
{
    int i = ((ModelVampireBat)this.mainModel).getBatSize();

    if (i != this.renderedBatSize)
    {
        this.renderedBatSize = i;
        this.mainModel = new ModelBat();
    }

    super.doRender(entity, par2, par4, par6, par8, par9);
}
项目:BetterNutritionMod    文件:RenderBat.java   
public void func_82443_a(EntityBat par1EntityBat, double par2, double par4, double par6, float par8, float par9)
{
    int i = ((ModelBat)this.mainModel).getBatSize();

    if (i != this.renderedBatSize)
    {
        this.renderedBatSize = i;
        this.mainModel = new ModelBat();
    }

    super.doRenderLiving(par1EntityBat, par2, par4, par6, par8, par9);
}
项目:DecompiledMinecraft    文件:RenderBat.java   
public RenderBat(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBat(), 0.25F);
}
项目:BaseClient    文件:RenderBat.java   
public RenderBat(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBat(), 0.25F);
}
项目:BaseClient    文件:RenderBat.java   
public RenderBat(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBat(), 0.25F);
}
项目:Backmemed    文件:ModelAdapterBat.java   
public ModelBase makeModel()
{
    return new ModelBat();
}
项目:Backmemed    文件:RenderBat.java   
public RenderBat(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBat(), 0.25F);
}
项目:CustomWorldGen    文件:RenderBat.java   
public RenderBat(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBat(), 0.25F);
}
项目:Resilience-Client-Source    文件:RenderBat.java   
public RenderBat()
{
    super(new ModelBat(), 0.25F);
    this.renderedBatSize = ((ModelBat)this.mainModel).getBatSize();
}
项目:ExpandedRailsMod    文件:RenderBat.java   
public RenderBat(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBat(), 0.25F);
}
项目:Cauldron    文件:RenderBat.java   
public RenderBat()
{
    super(new ModelBat(), 0.25F);
    this.renderedBatSize = ((ModelBat)this.mainModel).getBatSize();
}
项目:Cauldron    文件:RenderBat.java   
public RenderBat()
{
    super(new ModelBat(), 0.25F);
    this.renderedBatSize = ((ModelBat)this.mainModel).getBatSize();
}
项目:RuneCraftery    文件:RenderBat.java   
public RenderBat() {
   super(new ModelBat(), 0.25F);
   this.field_82446_a = ((ModelBat)this.field_77045_g).func_82889_a();
}
项目:RuneCraftery    文件:RenderBat.java   
public RenderBat()
{
    super(new ModelBat(), 0.25F);
    this.renderedBatSize = ((ModelBat)this.mainModel).getBatSize();
}
项目:BetterNutritionMod    文件:RenderBat.java   
public RenderBat()
{
    super(new ModelBat(), 0.25F);
    this.renderedBatSize = ((ModelBat)this.mainModel).getBatSize();
}