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

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