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); }
/** * 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); }
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); }
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()); }
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_); }
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_); }
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); }
public RenderBlaze(RenderManager renderManagerIn) { super(renderManagerIn, new ModelBlaze(), 0.5F); }
public ModelBase makeModel() { return new ModelBlaze(); }
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; } } } }
public RenderEvolvedBlaze() { super(new ModelBlaze(), 0.5F); this.field_77068_a = ((ModelBlaze) this.mainModel).func_78104_a(); }
public RenderBlaze() { super(new ModelBlaze(), 0.5F); this.field_77068_a = ((ModelBlaze)this.mainModel).func_78104_a(); }
public RenderSCP0015(ModelBlaze model, float f) { super(new ModelBlaze(), 0.5F); this.field_77068_a = ((ModelBlaze) this.mainModel).func_78104_a(); this.scale = f; }
public RenderBlaze() { super(new ModelBlaze(), 0.5F); this.field_77068_a = ((ModelBlaze)this.field_77045_g).func_78104_a(); }