Package net.minecraft.client.render
Class Camera
java.lang.Object
net.minecraft.client.render.Camera
- Mappings:
Namespace Name named net/minecraft/client/render/Camera
intermediary net/minecraft/class_4184
official fer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate BlockView
private static final float
private final BlockPos.Mutable
private float
private final Vector3f
static final float
private Entity
private final Vector3f
private float
private float
private float
private Vec3d
private boolean
private final Quaternionf
private boolean
private final Vector3f
private float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate double
clipToSpace
(double desiredCameraDistance) final Vector3f
final Vector3f
float
float
getPitch()
getPos()
Returns the field of vision of this camera.final Vector3f
float
getYaw()
boolean
isReady()
boolean
protected void
moveBy
(double x, double y, double z) void
reset()
protected void
setPos
(double x, double y, double z) protected void
protected void
setRotation
(float yaw, float pitch) void
update
(BlockView area, Entity focusedEntity, boolean thirdPerson, boolean inverseView, float tickDelta) void
-
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
Lfer;b:F
-
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
Lfer;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 c
Lfer;c:Z
-
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 d
Lfer;d:Ldbf;
-
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 e
Lfer;e:Lbsv;
-
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 f
Lfer;f:Levs;
-
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 g
Lfer;g:Liz$a;
-
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 h
Lfer;h:Lorg/joml/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 i
Lfer;i:Lorg/joml/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 j
Lfer;j: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 k
Lfer;k: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 l
Lfer;l:F
-
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 m
Lfer;m: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 n
Lfer;n: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 o
Lfer;o: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 p
Lfer;p: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 q
Lfer;q: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
Lfer;a(Ldbf;Lbsv;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
Lfer;a()V
-
clipToSpace
private double clipToSpace(double desiredCameraDistance) - Mappings:
Namespace Name Mixin selector named clipToSpace
Lnet/minecraft/client/render/Camera;clipToSpace(D)D
intermediary method_19318
Lnet/minecraft/class_4184;method_19318(D)D
official a
Lfer;a(D)D
-
moveBy
protected void moveBy(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named moveBy
Lnet/minecraft/client/render/Camera;moveBy(DDD)V
intermediary method_19324
Lnet/minecraft/class_4184;method_19324(DDD)V
official a
Lfer;a(DDD)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
Lfer;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 b
Lfer;b(DDD)V
-
setPos
- 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
Lfer;a(Levs;)V
-
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
Lfer;b()Levs;
-
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
Lfer;c()Liz;
-
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
Lfer;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
Lfer;e()F
-
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
Lfer;f()Lorg/joml/Quaternionf;
-
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
Lfer;g()Lbsv;
-
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
Lfer;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
Lfer;i()Z
-
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
Lfer;j()Lfer$a;
-
getSubmersionType
- Mappings:
Namespace Name Mixin selector named getSubmersionType
Lnet/minecraft/client/render/Camera;getSubmersionType()Lnet/minecraft/client/render/CameraSubmersionType;
intermediary method_19334
Lnet/minecraft/class_4184;method_19334()Lnet/minecraft/class_5636;
official k
Lfer;k()Leny;
-
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
Lfer;l()Lorg/joml/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
Lfer;m()Lorg/joml/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
Lfer;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
Lfer;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
Lfer;p()F
-