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

项目:Backmemed    文件:ModelAdapterLeadKnot.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelLeashKnot))
    {
        return null;
    }
    else
    {
        ModelLeashKnot modelleashknot = (ModelLeashKnot)model;
        return modelPart.equals("knot") ? modelleashknot.knotRenderer : null;
    }
}
项目:Backmemed    文件:ModelAdapterLeadKnot.java   
public ModelBase makeModel()
{
    return new ModelLeashKnot();
}