Java 类net.minecraft.client.model.ModelSign 实例源码

项目:Backmemed    文件:ModelAdapterSign.java   
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);
    }
}
项目:Backmemed    文件:ModelAdapterSign.java   
public ModelBase makeModel()
{
    return new ModelSign();
}