Class Camera

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

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

    • field_32133

      public static final float field_32133
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lduz;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 Lduz;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 Lduz;c:Lbvt;
      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 Lduz;d:Latf;
      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 Lduz;e:Ldna;
      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 Lduz;f:Lgg$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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;a(Lbvt;Latf;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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;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 Lduz;a(Ldna;)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 Lduz;b()Ldna;
      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 Lduz;c()Lgg;
      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 Lduz;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 Lduz;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 Lduz;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 Lduz;g()Latf;
      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 Lduz;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 Lduz;i()Z
      intermediary method_19333 Lnet/minecraft/class_4184;method_19333()Z
      named isThirdPerson Lnet/minecraft/client/render/Camera;isThirdPerson()Z
    • method_36425

      public Camera.class_6355 method_36425()
      Mappings:
      Namespace Name Mixin selector
      official j Lduz;j()Lduz$a;
      intermediary method_36425 Lnet/minecraft/class_4184;method_36425()Lnet/minecraft/class_4184$class_6355;
      named method_36425 Lnet/minecraft/client/render/Camera;method_36425()Lnet/minecraft/client/render/Camera$class_6355;
    • getSubmersionType

      public CameraSubmersionType getSubmersionType()
      Mappings:
      Namespace Name Mixin selector
      official k Lduz;k()Ldeu;
      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 Lduz;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 Lduz;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 Lduz;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 Lduz;o()V
      intermediary method_19337 Lnet/minecraft/class_4184;method_19337()V
      named reset Lnet/minecraft/client/render/Camera;reset()V