public RenderDragon(RenderManager renderManagerIn) { super(renderManagerIn, new ModelDragon(0.0F), 0.5F); this.modelDragon = (ModelDragon)this.mainModel; this.addLayer(new LayerEnderDragonEyes(this)); this.addLayer(new LayerEnderDragonDeath()); }
public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelDragon)) { return null; } else { ModelDragon modeldragon = (ModelDragon)model; return modelPart.equals("head") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 0) : (modelPart.equals("spine") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 1) : (modelPart.equals("jaw") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 2) : (modelPart.equals("body") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 3) : (modelPart.equals("rear_leg") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 4) : (modelPart.equals("front_leg") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 5) : (modelPart.equals("rear_leg_tip") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 6) : (modelPart.equals("front_leg_tip") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 7) : (modelPart.equals("rear_foot") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 8) : (modelPart.equals("front_foot") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 9) : (modelPart.equals("wing") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 10) : (modelPart.equals("wing_tip") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 11) : null))))))))))); } }
public ModelBase makeModel() { return new ModelDragon(0.0F); }
public RenderDragon(RenderManager renderManagerIn) { super(renderManagerIn, new ModelDragon(0.0F), 0.5F); this.addLayer(new LayerEnderDragonEyes(this)); this.addLayer(new LayerEnderDragonDeath()); }
public RenderDragon() { super(new ModelDragon(0.0F), 0.5F); this.modelDragon = (ModelDragon)this.mainModel; this.setRenderPassModel(this.mainModel); }
public RenderDragon() { super(new ModelDragon(0.0F), 0.5F); this.field_77084_b = (ModelDragon)this.field_77045_g; this.func_77042_a(this.field_77045_g); }