Java 类net.minecraft.client.renderer.entity.RenderLiving 实例源码

项目:Backmemed    文件:Shaders.java   
public static void resetDisplayListModels()
{
    if (needResetModels)
    {
        needResetModels = false;
        SMCLog.info("Reset model renderers");

        for (Render render : mc.getRenderManager().getEntityRenderMap().values())
        {
            if (render instanceof RenderLiving)
            {
                RenderLiving renderliving = (RenderLiving)render;
                resetDisplayListModel(renderliving.getMainModel());
            }
        }
    }
}
项目:Halloween    文件:LayerWitchClothes.java   
public LayerWitchClothes(RenderLiving renderEntity)
{
    this.renderEntity = renderEntity;
}
项目:wolfarmor    文件:LayerWolfArmor.java   
/**
 * Creates a new Wolf Armor layer renderer
 *
 * @param renderer The parent renderer.
 */
@SuppressWarnings("rawtypes")
public LayerWolfArmor(@Nonnull RenderLiving renderer) {
    this.renderer = renderer;
    this.initArmor();
}
项目:wolfarmor    文件:LayerWolfBackpack.java   
/**
 * Creates a new layer renderer for armored wolf backpacks.
 *
 * @param renderer The parent renderer.
 */
public LayerWolfBackpack(@Nonnull RenderLiving renderer) {
    this.renderer = renderer;

    this.modelWolfBackpack = new ModelWolfBackpack(0.0F);
}