Class LivingRenderer<T extends LivingEntity,​M extends EntityModel<T>>

    • Constructor Detail

      • LivingRenderer

        public LivingRenderer​(EntityRendererManager p_i50965_1_,
                              M p_i50965_2_,
                              float p_i50965_3_)
    • Method Detail

      • addLayer

        public final boolean addLayer​(LayerRenderer<T,​M> p_177094_1_)
      • getRenderType

        @Nullable
        protected RenderType getRenderType​(T p_230496_1_,
                                           boolean p_230496_2_,
                                           boolean p_230496_3_,
                                           boolean p_230496_4_)
      • getOverlayCoords

        public static int getOverlayCoords​(LivingEntity p_229117_0_,
                                           float p_229117_1_)
      • isBodyVisible

        protected boolean isBodyVisible​(T p_225622_1_)
      • sleepDirectionToRotation

        private static float sleepDirectionToRotation​(Direction p_217765_0_)
      • isShaking

        protected boolean isShaking​(T p_230495_1_)
      • setupRotations

        protected void setupRotations​(T p_225621_1_,
                                      MatrixStack p_225621_2_,
                                      float p_225621_3_,
                                      float p_225621_4_,
                                      float p_225621_5_)
      • getAttackAnim

        protected float getAttackAnim​(T p_77040_1_,
                                      float p_77040_2_)
      • getBob

        protected float getBob​(T p_77044_1_,
                               float p_77044_2_)
      • getFlipDegrees

        protected float getFlipDegrees​(T p_77037_1_)
      • getWhiteOverlayProgress

        protected float getWhiteOverlayProgress​(T p_225625_1_,
                                                float p_225625_2_)
      • scale

        protected void scale​(T p_225620_1_,
                             MatrixStack p_225620_2_,
                             float p_225620_3_)