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()); } } } }
public LayerWitchClothes(RenderLiving renderEntity) { this.renderEntity = renderEntity; }
/** * Creates a new Wolf Armor layer renderer * * @param renderer The parent renderer. */ @SuppressWarnings("rawtypes") public LayerWolfArmor(@Nonnull RenderLiving renderer) { this.renderer = renderer; this.initArmor(); }
/** * 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); }