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());
}
}
}
}
java类net.minecraft.client.renderer.entity.RenderLiving的实例源码
Shaders.java 文件源码
项目:Backmemed
阅读 23
收藏 0
点赞 0
评论 0
LayerWitchClothes.java 文件源码
项目:Halloween
阅读 25
收藏 0
点赞 0
评论 0
public LayerWitchClothes(RenderLiving renderEntity)
{
this.renderEntity = renderEntity;
}
LayerWolfArmor.java 文件源码
项目:wolfarmor
阅读 21
收藏 0
点赞 0
评论 0
/**
* Creates a new Wolf Armor layer renderer
*
* @param renderer The parent renderer.
*/
@SuppressWarnings("rawtypes")
public LayerWolfArmor(@Nonnull RenderLiving renderer) {
this.renderer = renderer;
this.initArmor();
}
LayerWolfBackpack.java 文件源码
项目:wolfarmor
阅读 24
收藏 0
点赞 0
评论 0
/**
* 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);
}