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

项目:Backmemed    文件:ModelAdapterShulkerBullet.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelShulkerBullet))
    {
        return null;
    }
    else
    {
        ModelShulkerBullet modelshulkerbullet = (ModelShulkerBullet)model;
        return modelPart.equals("bullet") ? modelshulkerbullet.renderer : null;
    }
}
项目:Backmemed    文件:ModelAdapterShulkerBullet.java   
public ModelBase makeModel()
{
    return new ModelShulkerBullet();
}