Class Camera

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

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

    • field_32133

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

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

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

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

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

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

      private final Vec3f horizontalPlane
      Mappings:
      Namespace Name Mixin selector
      official g Leei;g:Lk;
      intermediary field_18714 Lnet/minecraft/class_4184;field_18714:Lnet/minecraft/class_1160;
      named horizontalPlane Lnet/minecraft/client/render/Camera;horizontalPlane:Lnet/minecraft/util/math/Vec3f;
    • verticalPlane

      private final Vec3f verticalPlane
      Mappings:
      Namespace Name Mixin selector
      official h Leei;h:Lk;
      intermediary field_18715 Lnet/minecraft/class_4184;field_18715:Lnet/minecraft/class_1160;
      named verticalPlane Lnet/minecraft/client/render/Camera;verticalPlane:Lnet/minecraft/util/math/Vec3f;
    • diagonalPlane

      private final Vec3f diagonalPlane
      Mappings:
      Namespace Name Mixin selector
      official i Leei;i:Lk;
      intermediary field_18716 Lnet/minecraft/class_4184;field_18716:Lnet/minecraft/class_1160;
      named diagonalPlane Lnet/minecraft/client/render/Camera;diagonalPlane:Lnet/minecraft/util/math/Vec3f;
    • pitch

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

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

      private final Quaternion rotation
      Mappings:
      Namespace Name Mixin selector
      official l Leei;l:Lg;
      intermediary field_21518 Lnet/minecraft/class_4184;field_21518:Lnet/minecraft/class_1158;
      named rotation Lnet/minecraft/client/render/Camera;rotation:Lnet/minecraft/util/math/Quaternion;
    • thirdPerson

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

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

      private float lastCameraY
      Mappings:
      Namespace Name Mixin selector
      official o Leei;o:F
      intermediary field_18722 Lnet/minecraft/class_4184;field_18722:F
      named lastCameraY Lnet/minecraft/client/render/Camera;lastCameraY: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
      official a Leei;a(Lcfg;Lbaq;ZZF)V
      intermediary method_19321 Lnet/minecraft/class_4184;method_19321(Lnet/minecraft/class_1922;Lnet/minecraft/class_1297;ZZF)V
      named update Lnet/minecraft/client/render/Camera;update(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;ZZF)V
    • updateEyeHeight

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

      private double clipToSpace(double desiredCameraDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Leei;a(D)D
      intermediary method_19318 Lnet/minecraft/class_4184;method_19318(D)D
      named clipToSpace Lnet/minecraft/client/render/Camera;clipToSpace(D)D
    • moveBy

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

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

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

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

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

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

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

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

      public Quaternion getRotation()
      Mappings:
      Namespace Name Mixin selector
      official f Leei;f()Lg;
      intermediary method_23767 Lnet/minecraft/class_4184;method_23767()Lnet/minecraft/class_1158;
      named getRotation Lnet/minecraft/client/render/Camera;getRotation()Lnet/minecraft/util/math/Quaternion;
    • getFocusedEntity

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

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

      public boolean isThirdPerson()
      Mappings:
      Namespace Name Mixin selector
      official i Leei;i()Z
      intermediary method_19333 Lnet/minecraft/class_4184;method_19333()Z
      named isThirdPerson Lnet/minecraft/client/render/Camera;isThirdPerson()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
      official j Leei;j()Leei$a;
      intermediary method_36425 Lnet/minecraft/class_4184;method_36425()Lnet/minecraft/class_4184$class_6355;
      named getProjection Lnet/minecraft/client/render/Camera;getProjection()Lnet/minecraft/client/render/Camera$Projection;
    • getSubmersionType

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

      public final Vec3f getHorizontalPlane()
      Mappings:
      Namespace Name Mixin selector
      official l Leei;l()Lk;
      intermediary method_19335 Lnet/minecraft/class_4184;method_19335()Lnet/minecraft/class_1160;
      named getHorizontalPlane Lnet/minecraft/client/render/Camera;getHorizontalPlane()Lnet/minecraft/util/math/Vec3f;
    • getVerticalPlane

      public final Vec3f getVerticalPlane()
      Mappings:
      Namespace Name Mixin selector
      official m Leei;m()Lk;
      intermediary method_19336 Lnet/minecraft/class_4184;method_19336()Lnet/minecraft/class_1160;
      named getVerticalPlane Lnet/minecraft/client/render/Camera;getVerticalPlane()Lnet/minecraft/util/math/Vec3f;
    • getDiagonalPlane

      public final Vec3f getDiagonalPlane()
      Mappings:
      Namespace Name Mixin selector
      official n Leei;n()Lk;
      intermediary method_35689 Lnet/minecraft/class_4184;method_35689()Lnet/minecraft/class_1160;
      named getDiagonalPlane Lnet/minecraft/client/render/Camera;getDiagonalPlane()Lnet/minecraft/util/math/Vec3f;
    • reset

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