public RenderGhast(RenderManager renderManagerIn) { super(renderManagerIn, new ModelGhast(), 0.5F); }
public ModelBase makeModel() { return new ModelGhast(); }
public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelGhast)) { return null; } else { ModelGhast modelghast = (ModelGhast)model; if (modelPart.equals("body")) { return (ModelRenderer)Reflector.getFieldValue(modelghast, Reflector.ModelGhast_body); } else { String s = "tentacle"; if (modelPart.startsWith(s)) { ModelRenderer[] amodelrenderer = (ModelRenderer[])((ModelRenderer[])Reflector.getFieldValue(modelghast, Reflector.ModelGhast_tentacles)); 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 RenderGhastFrozen() { super(new ModelGhast(), 0.5F); }
public RenderGhast() { super(new ModelGhast(), 0.5F); }