public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelDragonHead)) { return null; } else { ModelDragonHead modeldragonhead = (ModelDragonHead)model; return modelPart.equals("head") ? (ModelRenderer)Reflector.getFieldValue(modeldragonhead, Reflector.ModelDragonHead_head) : (modelPart.equals("jaw") ? (ModelRenderer)Reflector.getFieldValue(modeldragonhead, Reflector.ModelDragonHead_jaw) : null); } }
public ModelBase makeModel() { return new ModelDragonHead(0.0F); }