Class ActiveRenderInfo

java.lang.Object
net.minecraft.client.renderer.ActiveRenderInfo

public class ActiveRenderInfo extends Object
  • Field Details

    • initialized

      private boolean initialized
    • level

      private IBlockReader level
    • entity

      private Entity entity
    • position

      private Vector3d position
    • blockPosition

      private final BlockPos.Mutable blockPosition
    • forwards

      private final Vector3f forwards
    • up

      private final Vector3f up
    • left

      private final Vector3f left
    • xRot

      private float xRot
    • yRot

      private float yRot
    • rotation

      private final Quaternion rotation
    • detached

      private boolean detached
    • mirror

      private boolean mirror
    • eyeHeight

      private float eyeHeight
    • eyeHeightOld

      private float eyeHeightOld
  • Constructor Details

    • ActiveRenderInfo

      public ActiveRenderInfo()
  • Method Details

    • 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()
    • rotation

      public Quaternion rotation()
    • 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()