public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelEnderMite)) { return null; } else { ModelEnderMite modelendermite = (ModelEnderMite)model; String s = "body"; if (modelPart.startsWith(s)) { ModelRenderer[] amodelrenderer = (ModelRenderer[])((ModelRenderer[])Reflector.getFieldValue(modelendermite, Reflector.ModelEnderMite_bodyParts)); 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 RenderEndermite(RenderManager renderManagerIn) { super(renderManagerIn, new ModelEnderMite(), 0.3F); }
public RenderEvolvedEndermite(RenderManager renderManagerIn) { super(renderManagerIn, new ModelEnderMite(), 0.3F); }
public ModelBase makeModel() { return new ModelEnderMite(); }