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

项目:Backmemed    文件:ModelAdapterEndermite.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelEnderMite))
    {
        return null;
    }
    else
    {
        ModelEnderMite modelendermite = (ModelEnderMite)model;
        String s = "body";

        if (modelPart.startsWith(s))
        {
            ModelRenderer[] amodelrenderer = (ModelRenderer[])((ModelRenderer[])Reflector.getFieldValue(modelendermite, Reflector.ModelEnderMite_bodyParts));

            if (amodelrenderer == null)
            {
                return null;
            }
            else
            {
                String s1 = modelPart.substring(s.length());
                int i = Config.parseInt(s1, -1);
                --i;
                return i >= 0 && i < amodelrenderer.length ? amodelrenderer[i] : null;
            }
        }
        else
        {
            return null;
        }
    }
}
项目:DecompiledMinecraft    文件:RenderEndermite.java   
public RenderEndermite(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderMite(), 0.3F);
}
项目:BaseClient    文件:RenderEndermite.java   
public RenderEndermite(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderMite(), 0.3F);
}
项目:BaseClient    文件:RenderEndermite.java   
public RenderEndermite(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderMite(), 0.3F);
}
项目:EndermanEvolution    文件:RenderEvolvedEndermite.java   
public RenderEvolvedEndermite(RenderManager renderManagerIn) {
    super(renderManagerIn, new ModelEnderMite(), 0.3F);
}
项目:Backmemed    文件:ModelAdapterEndermite.java   
public ModelBase makeModel()
{
    return new ModelEnderMite();
}
项目:Backmemed    文件:RenderEndermite.java   
public RenderEndermite(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderMite(), 0.3F);
}
项目:CustomWorldGen    文件:RenderEndermite.java   
public RenderEndermite(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderMite(), 0.3F);
}
项目:ExpandedRailsMod    文件:RenderEndermite.java   
public RenderEndermite(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderMite(), 0.3F);
}