Class ActiveRenderInfo


  • public class ActiveRenderInfo
    extends java.lang.Object
    • Field Detail

      • initialized

        private boolean initialized
      • entity

        private Entity entity
      • forwards

        private final Vector3f forwards
      • xRot

        private float xRot
      • yRot

        private float yRot
      • detached

        private boolean detached
      • mirror

        private boolean mirror
      • eyeHeight

        private float eyeHeight
      • eyeHeightOld

        private float eyeHeightOld
    • Constructor Detail

      • ActiveRenderInfo

        public ActiveRenderInfo()
    • Method Detail

      • setup

        public void setup​(IBlockReader p_216772_1_,
                          Entity p_216772_2_,
                          boolean p_216772_3_,
                          boolean p_216772_4_,
                          float p_216772_5_)
      • tick

        public void tick()
      • getMaxZoom

        private double getMaxZoom​(double p_216779_1_)
      • move

        protected void move​(double p_216782_1_,
                            double p_216782_3_,
                            double p_216782_5_)
      • setRotation

        protected void setRotation​(float p_216776_1_,
                                   float p_216776_2_)
      • setPosition

        protected void setPosition​(double p_216775_1_,
                                   double p_216775_3_,
                                   double p_216775_5_)
      • setPosition

        protected void setPosition​(Vector3d p_216774_1_)
      • getPosition

        public Vector3d getPosition()
      • getBlockPosition

        public BlockPos getBlockPosition()
      • getXRot

        public float getXRot()
      • getYRot

        public float getYRot()
      • getEntity

        public Entity getEntity()
      • isInitialized

        public boolean isInitialized()
      • isDetached

        public boolean isDetached()
      • getFluidInCamera

        public FluidState getFluidInCamera()
      • getLookVector

        public final Vector3f getLookVector()
      • getUpVector

        public final Vector3f getUpVector()
      • reset

        public void reset()
      • setAnglesInternal

        public void setAnglesInternal​(float yaw,
                                      float pitch)
      • getBlockAtCamera

        public BlockState getBlockAtCamera()