public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelBanner)) { return null; } else { ModelBanner modelbanner = (ModelBanner)model; return modelPart.equals("slate") ? modelbanner.bannerSlate : (modelPart.equals("stand") ? modelbanner.bannerStand : (modelPart.equals("top") ? modelbanner.bannerTop : null)); } }
public ModelBase makeModel() { return new ModelBanner(); }