本文整理匯總了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);
}