本文整理汇总了Java中net.minecraft.client.renderer.entity.RenderLiving类的典型用法代码示例。如果您正苦于以下问题:Java RenderLiving类的具体用法?Java RenderLiving怎么用?Java RenderLiving使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
RenderLiving类属于net.minecraft.client.renderer.entity包,在下文中一共展示了RenderLiving类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: resetDisplayListModels
import net.minecraft.client.renderer.entity.RenderLiving; //导入依赖的package包/类
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());
}
}
}
}
示例2: LayerWitchClothes
import net.minecraft.client.renderer.entity.RenderLiving; //导入依赖的package包/类
public LayerWitchClothes(RenderLiving renderEntity)
{
this.renderEntity = renderEntity;
}
示例3: LayerWolfArmor
import net.minecraft.client.renderer.entity.RenderLiving; //导入依赖的package包/类
/**
* Creates a new Wolf Armor layer renderer
*
* @param renderer The parent renderer.
*/
@SuppressWarnings("rawtypes")
public LayerWolfArmor(@Nonnull RenderLiving renderer) {
this.renderer = renderer;
this.initArmor();
}
示例4: LayerWolfBackpack
import net.minecraft.client.renderer.entity.RenderLiving; //导入依赖的package包/类
/**
* 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);
}