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

项目:4Space-5    文件:RenderEvolvedBlaze.java   
public void renderEvolvedBlaze(EntityEvolvedBlaze par1EntityEvolvedBlaze, double par2, double par4, double par6, float par8, float par9) {
    final int i = ((ModelBlaze) this.mainModel).func_78104_a();

    if (i != this.field_77068_a) {
        this.field_77068_a = i;
        this.mainModel = new ModelBlaze();
    }
    super.doRender(par1EntityEvolvedBlaze, par2, par4, par6, par8, par9);
}
项目:Resilience-Client-Source    文件:RenderBlaze.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(EntityBlaze par1EntityBlaze, double par2, double par4, double par6, float par8, float par9)
{
    int var10 = ((ModelBlaze)this.mainModel).func_78104_a();

    if (var10 != this.field_77068_a)
    {
        this.field_77068_a = var10;
        this.mainModel = new ModelBlaze();
    }

    super.doRender((EntityLiving)par1EntityBlaze, par2, par4, par6, par8, par9);
}
项目:SecureCraftProtect    文件:RenderSCP0015.java   
public void renderSCP0015(EntitySCP0015 entity, double par2, double par4,
                          double par6, float par8, float par9)
{
    entityPipe = entity;
    int var10 = ((ModelBlaze) this.mainModel).func_78104_a();

    if (var10 != this.field_77068_a) {
        this.field_77068_a = var10;
        this.mainModel = new ModelBlaze();
    }
    super.doRender(entity, par2, par4, par6, par8, par9);
}
项目:SecureCraftProtect    文件:ClientProxy.java   
private void render()
{
    RenderingRegistry.registerEntityRenderingHandler(EntityClassDMale.class, new RenderClassDMale(new ModelClassDMale(), 0.5F));
    RenderingRegistry.registerEntityRenderingHandler(EntitySCP0023.class, new RenderSCP0023(new ModelSCP0023(), 0.5F));
    RenderingRegistry.registerEntityRenderingHandler(EntitySCP0131.class, new RenderSCP0131(new ModelSCP0131(), 0.5F));
    RenderingRegistry.registerEntityRenderingHandler(EntitySCP0173.class, new RenderSCP0173(new ModelSCP0173(), 0.5F));
    RenderingRegistry.registerEntityRenderingHandler(EntitySCP0015.class, new RenderSCP0015(new ModelBlaze(), 0.0F));
    RENDER_PIPE = RenderingRegistry.getNextAvailableRenderId();
    RenderingRegistry.registerBlockHandler(RENDER_PIPE, new RenderTileSCP0015());
    RENDER_DESK = RenderingRegistry.getNextAvailableRenderId();
    RenderingRegistry.registerBlockHandler(RENDER_DESK, new RenderTileDesk());
    RENDER_CHAIR = RenderingRegistry.getNextAvailableRenderId();
    RenderingRegistry.registerBlockHandler(RENDER_CHAIR, new RenderTileChair());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLightBulb.class, new RenderTileLightBulb());  
}
项目:4Space-1.7    文件:RenderEvolvedBlaze.java   
public void renderEvolvedBlaze(EntityEvolvedBlaze par1EntityEvolvedBlaze, double par2, double par4, double par6, float par8, float par9) {
    final int i = ((ModelBlaze) this.mainModel).func_78104_a();

    if (i != this.field_77068_a) {
        this.field_77068_a = i;
        this.mainModel = new ModelBlaze();
    }
    super.doRender(par1EntityEvolvedBlaze, par2, par4, par6, par8, par9);
}
项目:Cauldron    文件:RenderBlaze.java   
public void doRender(EntityBlaze 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 = ((ModelBlaze)this.mainModel).func_78104_a();

    if (i != this.field_77068_a)
    {
        this.field_77068_a = i;
        this.mainModel = new ModelBlaze();
    }

    super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
}
项目:Cauldron    文件:RenderBlaze.java   
public void doRender(EntityBlaze 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 = ((ModelBlaze)this.mainModel).func_78104_a();

    if (i != this.field_77068_a)
    {
        this.field_77068_a = i;
        this.mainModel = new ModelBlaze();
    }

    super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
}
项目:RuneCraftery    文件:RenderBlaze.java   
public void func_77067_a(EntityBlaze p_77067_1_, double p_77067_2_, double p_77067_4_, double p_77067_6_, float p_77067_8_, float p_77067_9_) {
   int var10 = ((ModelBlaze)this.field_77045_g).func_78104_a();
   if(var10 != this.field_77068_a) {
      this.field_77068_a = var10;
      this.field_77045_g = new ModelBlaze();
   }

   super.func_77031_a(p_77067_1_, p_77067_2_, p_77067_4_, p_77067_6_, p_77067_8_, p_77067_9_);
}
项目:RuneCraftery    文件:RenderBlaze.java   
public void renderBlaze(EntityBlaze par1EntityBlaze, double par2, double par4, double par6, float par8, float par9)
{
    int i = ((ModelBlaze)this.mainModel).func_78104_a();

    if (i != this.field_77068_a)
    {
        this.field_77068_a = i;
        this.mainModel = new ModelBlaze();
    }

    super.doRenderLiving(par1EntityBlaze, par2, par4, par6, par8, par9);
}
项目:BetterNutritionMod    文件:RenderBlaze.java   
public void renderBlaze(EntityBlaze par1EntityBlaze, double par2, double par4, double par6, float par8, float par9)
{
    int i = ((ModelBlaze)this.mainModel).func_78104_a();

    if (i != this.field_77068_a)
    {
        this.field_77068_a = i;
        this.mainModel = new ModelBlaze();
    }

    super.doRenderLiving(par1EntityBlaze, par2, par4, par6, par8, par9);
}
项目:DecompiledMinecraft    文件:RenderBlaze.java   
public RenderBlaze(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBlaze(), 0.5F);
}
项目:BaseClient    文件:RenderBlaze.java   
public RenderBlaze(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBlaze(), 0.5F);
}
项目:BaseClient    文件:RenderBlaze.java   
public RenderBlaze(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBlaze(), 0.5F);
}
项目:Backmemed    文件:ModelAdapterBlaze.java   
public ModelBase makeModel()
{
    return new ModelBlaze();
}
项目:Backmemed    文件:ModelAdapterBlaze.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelBlaze))
    {
        return null;
    }
    else
    {
        ModelBlaze modelblaze = (ModelBlaze)model;

        if (modelPart.equals("head"))
        {
            return (ModelRenderer)Reflector.getFieldValue(modelblaze, Reflector.ModelBlaze_blazeHead);
        }
        else
        {
            String s = "stick";

            if (modelPart.startsWith(s))
            {
                ModelRenderer[] amodelrenderer = (ModelRenderer[])((ModelRenderer[])Reflector.getFieldValue(modelblaze, Reflector.ModelBlaze_blazeSticks));

                if (amodelrenderer == null)
                {
                    return null;
                }
                else
                {
                    String s1 = modelPart.substring(s.length());
                    int i = Config.parseInt(s1, -1);
                    --i;
                    return i >= 0 && i < amodelrenderer.length ? amodelrenderer[i] : null;
                }
            }
            else
            {
                return null;
            }
        }
    }
}
项目:Backmemed    文件:RenderBlaze.java   
public RenderBlaze(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBlaze(), 0.5F);
}
项目:CustomWorldGen    文件:RenderBlaze.java   
public RenderBlaze(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBlaze(), 0.5F);
}
项目:4Space-5    文件:RenderEvolvedBlaze.java   
public RenderEvolvedBlaze() {
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze) this.mainModel).func_78104_a();
}
项目:Resilience-Client-Source    文件:RenderBlaze.java   
public RenderBlaze()
{
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze)this.mainModel).func_78104_a();
}
项目:SecureCraftProtect    文件:RenderSCP0015.java   
public RenderSCP0015(ModelBlaze model, float f)
{
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze) this.mainModel).func_78104_a();
    this.scale = f;
}
项目:4Space-1.7    文件:RenderEvolvedBlaze.java   
public RenderEvolvedBlaze() {
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze) this.mainModel).func_78104_a();
}
项目:ExpandedRailsMod    文件:RenderBlaze.java   
public RenderBlaze(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelBlaze(), 0.5F);
}
项目:Cauldron    文件:RenderBlaze.java   
public RenderBlaze()
{
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze)this.mainModel).func_78104_a();
}
项目:Cauldron    文件:RenderBlaze.java   
public RenderBlaze()
{
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze)this.mainModel).func_78104_a();
}
项目:RuneCraftery    文件:RenderBlaze.java   
public RenderBlaze() {
   super(new ModelBlaze(), 0.5F);
   this.field_77068_a = ((ModelBlaze)this.field_77045_g).func_78104_a();
}
项目:RuneCraftery    文件:RenderBlaze.java   
public RenderBlaze()
{
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze)this.mainModel).func_78104_a();
}
项目:BetterNutritionMod    文件:RenderBlaze.java   
public RenderBlaze()
{
    super(new ModelBlaze(), 0.5F);
    this.field_77068_a = ((ModelBlaze)this.mainModel).func_78104_a();
}