public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelSign)) { return null; } else { ModelSign modelsign = (ModelSign)model; return modelPart.equals("board") ? modelsign.signBoard : (modelPart.equals("stick") ? modelsign.signStick : null); } }
public ModelBase makeModel() { return new ModelSign(); }