Class Camera

java.lang.Object
net.minecraft.client.render.Camera

@Environment(CLIENT) public class Camera extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/Camera
intermediary net/minecraft/class_4184
official flo
  • Field Details

    • BASE_CAMERA_DISTANCE

      private static final float BASE_CAMERA_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BASE_CAMERA_DISTANCE Lnet/minecraft/client/render/Camera;BASE_CAMERA_DISTANCE:F
      intermediary field_47841 Lnet/minecraft/class_4184;field_47841:F
      official b Lflo;b:F
    • HORIZONTAL

      private static final Vector3f HORIZONTAL
      Mappings:
      Namespace Name Mixin selector
      named HORIZONTAL Lnet/minecraft/client/render/Camera;HORIZONTAL:Lorg/joml/Vector3f;
      intermediary field_52123 Lnet/minecraft/class_4184;field_52123:Lorg/joml/Vector3f;
      official c Lflo;c:Lorg/joml/Vector3f;
    • VERTICAL

      private static final Vector3f VERTICAL
      Mappings:
      Namespace Name Mixin selector
      named VERTICAL Lnet/minecraft/client/render/Camera;VERTICAL:Lorg/joml/Vector3f;
      intermediary field_52124 Lnet/minecraft/class_4184;field_52124:Lorg/joml/Vector3f;
      official d Lflo;d:Lorg/joml/Vector3f;
    • DIAGONAL

      private static final Vector3f DIAGONAL
      Mappings:
      Namespace Name Mixin selector
      named DIAGONAL Lnet/minecraft/client/render/Camera;DIAGONAL:Lorg/joml/Vector3f;
      intermediary field_52125 Lnet/minecraft/class_4184;field_52125:Lorg/joml/Vector3f;
      official e Lflo;e:Lorg/joml/Vector3f;
    • field_32133

      public static final float field_32133
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32133 Lnet/minecraft/client/render/Camera;field_32133:F
      intermediary field_32133 Lnet/minecraft/class_4184;field_32133:F
      official a Lflo;a:F
    • ready

      private boolean ready
      Mappings:
      Namespace Name Mixin selector
      named ready Lnet/minecraft/client/render/Camera;ready:Z
      intermediary field_18709 Lnet/minecraft/class_4184;field_18709:Z
      official f Lflo;f:Z
    • area

      private BlockView area
      Mappings:
      Namespace Name Mixin selector
      named area Lnet/minecraft/client/render/Camera;area:Lnet/minecraft/world/BlockView;
      intermediary field_18710 Lnet/minecraft/class_4184;field_18710:Lnet/minecraft/class_1922;
      official g Lflo;g:Ldgm;
    • focusedEntity

      private Entity focusedEntity
      Mappings:
      Namespace Name Mixin selector
      named focusedEntity Lnet/minecraft/client/render/Camera;focusedEntity:Lnet/minecraft/entity/Entity;
      intermediary field_18711 Lnet/minecraft/class_4184;field_18711:Lnet/minecraft/class_1297;
      official h Lflo;h:Lbvj;
    • pos

      private Vec3d pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/client/render/Camera;pos:Lnet/minecraft/util/math/Vec3d;
      intermediary field_18712 Lnet/minecraft/class_4184;field_18712:Lnet/minecraft/class_243;
      official i Lflo;i:Lfbx;
    • blockPos

      private final BlockPos.Mutable blockPos
      Mappings:
      Namespace Name Mixin selector
      named blockPos Lnet/minecraft/client/render/Camera;blockPos:Lnet/minecraft/util/math/BlockPos$Mutable;
      intermediary field_18713 Lnet/minecraft/class_4184;field_18713:Lnet/minecraft/class_2338$class_2339;
      official j Lflo;j:Ljh$a;
    • horizontalPlane

      private final Vector3f horizontalPlane
      Mappings:
      Namespace Name Mixin selector
      named horizontalPlane Lnet/minecraft/client/render/Camera;horizontalPlane:Lorg/joml/Vector3f;
      intermediary field_18714 Lnet/minecraft/class_4184;field_18714:Lorg/joml/Vector3f;
      official k Lflo;k:Lorg/joml/Vector3f;
    • verticalPlane

      private final Vector3f verticalPlane
      Mappings:
      Namespace Name Mixin selector
      named verticalPlane Lnet/minecraft/client/render/Camera;verticalPlane:Lorg/joml/Vector3f;
      intermediary field_18715 Lnet/minecraft/class_4184;field_18715:Lorg/joml/Vector3f;
      official l Lflo;l:Lorg/joml/Vector3f;
    • diagonalPlane

      private final Vector3f diagonalPlane
      Mappings:
      Namespace Name Mixin selector
      named diagonalPlane Lnet/minecraft/client/render/Camera;diagonalPlane:Lorg/joml/Vector3f;
      intermediary field_18716 Lnet/minecraft/class_4184;field_18716:Lorg/joml/Vector3f;
      official m Lflo;m:Lorg/joml/Vector3f;
    • pitch

      private float pitch
      Mappings:
      Namespace Name Mixin selector
      named pitch Lnet/minecraft/client/render/Camera;pitch:F
      intermediary field_18717 Lnet/minecraft/class_4184;field_18717:F
      official n Lflo;n:F
    • yaw

      private float yaw
      Mappings:
      Namespace Name Mixin selector
      named yaw Lnet/minecraft/client/render/Camera;yaw:F
      intermediary field_18718 Lnet/minecraft/class_4184;field_18718:F
      official o Lflo;o:F
    • rotation

      private final Quaternionf rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/client/render/Camera;rotation:Lorg/joml/Quaternionf;
      intermediary field_21518 Lnet/minecraft/class_4184;field_21518:Lorg/joml/Quaternionf;
      official p Lflo;p:Lorg/joml/Quaternionf;
    • thirdPerson

      private boolean thirdPerson
      Mappings:
      Namespace Name Mixin selector
      named thirdPerson Lnet/minecraft/client/render/Camera;thirdPerson:Z
      intermediary field_18719 Lnet/minecraft/class_4184;field_18719:Z
      official q Lflo;q:Z
    • cameraY

      private float cameraY
      Mappings:
      Namespace Name Mixin selector
      named cameraY Lnet/minecraft/client/render/Camera;cameraY:F
      intermediary field_18721 Lnet/minecraft/class_4184;field_18721:F
      official r Lflo;r:F
    • lastCameraY

      private float lastCameraY
      Mappings:
      Namespace Name Mixin selector
      named lastCameraY Lnet/minecraft/client/render/Camera;lastCameraY:F
      intermediary field_18722 Lnet/minecraft/class_4184;field_18722:F
      official s Lflo;s:F
    • lastTickDelta

      private float lastTickDelta
      Mappings:
      Namespace Name Mixin selector
      named lastTickDelta Lnet/minecraft/client/render/Camera;lastTickDelta:F
      intermediary field_47549 Lnet/minecraft/class_4184;field_47549:F
      official t Lflo;t:F
  • Constructor Details

    • Camera

      public Camera()
  • Method Details

    • update

      public void update(BlockView area, Entity focusedEntity, boolean thirdPerson, boolean inverseView, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/render/Camera;update(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;ZZF)V
      intermediary method_19321 Lnet/minecraft/class_4184;method_19321(Lnet/minecraft/class_1922;Lnet/minecraft/class_1297;ZZF)V
      official a Lflo;a(Ldgm;Lbvj;ZZF)V
    • updateEyeHeight

      public void updateEyeHeight()
      Mappings:
      Namespace Name Mixin selector
      named updateEyeHeight Lnet/minecraft/client/render/Camera;updateEyeHeight()V
      intermediary method_19317 Lnet/minecraft/class_4184;method_19317()V
      official a Lflo;a()V
    • clipToSpace

      private float clipToSpace(float float2)
      Mappings:
      Namespace Name Mixin selector
      named clipToSpace Lnet/minecraft/client/render/Camera;clipToSpace(F)F
      intermediary method_19318 Lnet/minecraft/class_4184;method_19318(F)F
      official a Lflo;a(F)F
    • moveBy

      protected void moveBy(float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      named moveBy Lnet/minecraft/client/render/Camera;moveBy(FFF)V
      intermediary method_19324 Lnet/minecraft/class_4184;method_19324(FFF)V
      official a Lflo;a(FFF)V
    • setRotation

      protected void setRotation(float yaw, float pitch)
      Mappings:
      Namespace Name Mixin selector
      named setRotation Lnet/minecraft/client/render/Camera;setRotation(FF)V
      intermediary method_19325 Lnet/minecraft/class_4184;method_19325(FF)V
      official a Lflo;a(FF)V
    • setPos

      protected void setPos(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named setPos Lnet/minecraft/client/render/Camera;setPos(DDD)V
      intermediary method_19327 Lnet/minecraft/class_4184;method_19327(DDD)V
      official a Lflo;a(DDD)V
    • setPos

      protected void setPos(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named setPos Lnet/minecraft/client/render/Camera;setPos(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_19322 Lnet/minecraft/class_4184;method_19322(Lnet/minecraft/class_243;)V
      official a Lflo;a(Lfbx;)V
    • getPos

      public Vec3d getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/client/render/Camera;getPos()Lnet/minecraft/util/math/Vec3d;
      intermediary method_19326 Lnet/minecraft/class_4184;method_19326()Lnet/minecraft/class_243;
      official b Lflo;b()Lfbx;
    • getBlockPos

      public BlockPos getBlockPos()
      Mappings:
      Namespace Name Mixin selector
      named getBlockPos Lnet/minecraft/client/render/Camera;getBlockPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_19328 Lnet/minecraft/class_4184;method_19328()Lnet/minecraft/class_2338;
      official c Lflo;c()Ljh;
    • getPitch

      public float getPitch()
      Mappings:
      Namespace Name Mixin selector
      named getPitch Lnet/minecraft/client/render/Camera;getPitch()F
      intermediary method_19329 Lnet/minecraft/class_4184;method_19329()F
      official d Lflo;d()F
    • getYaw

      public float getYaw()
      Mappings:
      Namespace Name Mixin selector
      named getYaw Lnet/minecraft/client/render/Camera;getYaw()F
      intermediary method_19330 Lnet/minecraft/class_4184;method_19330()F
      official e Lflo;e()F
    • getRotation

      public Quaternionf getRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRotation Lnet/minecraft/client/render/Camera;getRotation()Lorg/joml/Quaternionf;
      intermediary method_23767 Lnet/minecraft/class_4184;method_23767()Lorg/joml/Quaternionf;
      official f Lflo;f()Lorg/joml/Quaternionf;
    • getFocusedEntity

      public Entity getFocusedEntity()
      Mappings:
      Namespace Name Mixin selector
      named getFocusedEntity Lnet/minecraft/client/render/Camera;getFocusedEntity()Lnet/minecraft/entity/Entity;
      intermediary method_19331 Lnet/minecraft/class_4184;method_19331()Lnet/minecraft/class_1297;
      official g Lflo;g()Lbvj;
    • isReady

      public boolean isReady()
      Mappings:
      Namespace Name Mixin selector
      named isReady Lnet/minecraft/client/render/Camera;isReady()Z
      intermediary method_19332 Lnet/minecraft/class_4184;method_19332()Z
      official h Lflo;h()Z
    • isThirdPerson

      public boolean isThirdPerson()
      Mappings:
      Namespace Name Mixin selector
      named isThirdPerson Lnet/minecraft/client/render/Camera;isThirdPerson()Z
      intermediary method_19333 Lnet/minecraft/class_4184;method_19333()Z
      official i Lflo;i()Z
    • getProjection

      public Camera.Projection getProjection()
      Returns the field of vision of this camera.
      Returns:
      the field of vision of this camera
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getProjection Lnet/minecraft/client/render/Camera;getProjection()Lnet/minecraft/client/render/Camera$Projection;
      intermediary method_36425 Lnet/minecraft/class_4184;method_36425()Lnet/minecraft/class_4184$class_6355;
      official j Lflo;j()Lflo$a;
    • getSubmersionType

      public CameraSubmersionType getSubmersionType()
      Mappings:
      Namespace Name Mixin selector
      named getSubmersionType Lnet/minecraft/client/render/Camera;getSubmersionType()Lnet/minecraft/block/enums/CameraSubmersionType;
      intermediary method_19334 Lnet/minecraft/class_4184;method_19334()Lnet/minecraft/class_5636;
      official k Lflo;k()Lety;
    • getHorizontalPlane

      public final Vector3f getHorizontalPlane()
      Mappings:
      Namespace Name Mixin selector
      named getHorizontalPlane Lnet/minecraft/client/render/Camera;getHorizontalPlane()Lorg/joml/Vector3f;
      intermediary method_19335 Lnet/minecraft/class_4184;method_19335()Lorg/joml/Vector3f;
      official l Lflo;l()Lorg/joml/Vector3f;
    • getVerticalPlane

      public final Vector3f getVerticalPlane()
      Mappings:
      Namespace Name Mixin selector
      named getVerticalPlane Lnet/minecraft/client/render/Camera;getVerticalPlane()Lorg/joml/Vector3f;
      intermediary method_19336 Lnet/minecraft/class_4184;method_19336()Lorg/joml/Vector3f;
      official m Lflo;m()Lorg/joml/Vector3f;
    • getDiagonalPlane

      public final Vector3f getDiagonalPlane()
      Mappings:
      Namespace Name Mixin selector
      named getDiagonalPlane Lnet/minecraft/client/render/Camera;getDiagonalPlane()Lorg/joml/Vector3f;
      intermediary method_35689 Lnet/minecraft/class_4184;method_35689()Lorg/joml/Vector3f;
      official n Lflo;n()Lorg/joml/Vector3f;
    • reset

      public void reset()
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/client/render/Camera;reset()V
      intermediary method_19337 Lnet/minecraft/class_4184;method_19337()V
      official o Lflo;o()V
    • getLastTickDelta

      public float getLastTickDelta()
      Mappings:
      Namespace Name Mixin selector
      named getLastTickDelta Lnet/minecraft/client/render/Camera;getLastTickDelta()F
      intermediary method_55437 Lnet/minecraft/class_4184;method_55437()F
      official p Lflo;p()F