Package net.minecraft.client.render
Class Camera
java.lang.Object
net.minecraft.client.render.Camera
- Mappings:
Namespace Name official elt
intermediary net/minecraft/class_4184
named net/minecraft/client/render/Camera
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate BlockView
private final BlockPos.Mutable
private float
private final Vector3f
static final float
private Entity
private final Vector3f
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
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
-
field_32133
public static final float field_32133- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lelt;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
Lelt;b:Z
intermediary field_18709
Lnet/minecraft/class_4184;field_18709:Z
named ready
Lnet/minecraft/client/render/Camera;ready:Z
-
area
- Mappings:
Namespace Name Mixin selector official c
Lelt;c:Lclo;
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
- Mappings:
Namespace Name Mixin selector official d
Lelt;d:Lbfh;
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
- Mappings:
Namespace Name Mixin selector official e
Lelt;e:Lede;
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
- Mappings:
Namespace Name Mixin selector official f
Lelt;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
- Mappings:
Namespace Name Mixin selector official g
Lelt;g:Lorg/joml/Vector3f;
intermediary field_18714
Lnet/minecraft/class_4184;field_18714:Lorg/joml/Vector3f;
named horizontalPlane
Lnet/minecraft/client/render/Camera;horizontalPlane:Lorg/joml/Vector3f;
-
verticalPlane
- Mappings:
Namespace Name Mixin selector official h
Lelt;h:Lorg/joml/Vector3f;
intermediary field_18715
Lnet/minecraft/class_4184;field_18715:Lorg/joml/Vector3f;
named verticalPlane
Lnet/minecraft/client/render/Camera;verticalPlane:Lorg/joml/Vector3f;
-
diagonalPlane
- Mappings:
Namespace Name Mixin selector official i
Lelt;i:Lorg/joml/Vector3f;
intermediary field_18716
Lnet/minecraft/class_4184;field_18716:Lorg/joml/Vector3f;
named diagonalPlane
Lnet/minecraft/client/render/Camera;diagonalPlane:Lorg/joml/Vector3f;
-
pitch
private float pitch- Mappings:
Namespace Name Mixin selector official j
Lelt;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
Lelt;k:F
intermediary field_18718
Lnet/minecraft/class_4184;field_18718:F
named yaw
Lnet/minecraft/client/render/Camera;yaw:F
-
rotation
- Mappings:
Namespace Name Mixin selector official l
Lelt;l:Lorg/joml/Quaternionf;
intermediary field_21518
Lnet/minecraft/class_4184;field_21518:Lorg/joml/Quaternionf;
named rotation
Lnet/minecraft/client/render/Camera;rotation:Lorg/joml/Quaternionf;
-
thirdPerson
private boolean thirdPerson- Mappings:
Namespace Name Mixin selector official m
Lelt;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
Lelt;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
Lelt;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
Lelt;a(Lclo;Lbfh;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
Lelt;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
Lelt;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
Lelt;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
Lelt;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
Lelt;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
- Mappings:
Namespace Name Mixin selector official a
Lelt;a(Lede;)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
- Mappings:
Namespace Name Mixin selector official b
Lelt;b()Lede;
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
- Mappings:
Namespace Name Mixin selector official c
Lelt;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
Lelt;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
Lelt;e()F
intermediary method_19330
Lnet/minecraft/class_4184;method_19330()F
named getYaw
Lnet/minecraft/client/render/Camera;getYaw()F
-
getRotation
- Mappings:
Namespace Name Mixin selector official f
Lelt;f()Lorg/joml/Quaternionf;
intermediary method_23767
Lnet/minecraft/class_4184;method_23767()Lorg/joml/Quaternionf;
named getRotation
Lnet/minecraft/client/render/Camera;getRotation()Lorg/joml/Quaternionf;
-
getFocusedEntity
- Mappings:
Namespace Name Mixin selector official g
Lelt;g()Lbfh;
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
Lelt;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
Lelt;i()Z
intermediary method_19333
Lnet/minecraft/class_4184;method_19333()Z
named isThirdPerson
Lnet/minecraft/client/render/Camera;isThirdPerson()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 official j
Lelt;j()Lelt$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
- Mappings:
Namespace Name Mixin selector official k
Lelt;k()Ldwl;
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
- Mappings:
Namespace Name Mixin selector official l
Lelt;l()Lorg/joml/Vector3f;
intermediary method_19335
Lnet/minecraft/class_4184;method_19335()Lorg/joml/Vector3f;
named getHorizontalPlane
Lnet/minecraft/client/render/Camera;getHorizontalPlane()Lorg/joml/Vector3f;
-
getVerticalPlane
- Mappings:
Namespace Name Mixin selector official m
Lelt;m()Lorg/joml/Vector3f;
intermediary method_19336
Lnet/minecraft/class_4184;method_19336()Lorg/joml/Vector3f;
named getVerticalPlane
Lnet/minecraft/client/render/Camera;getVerticalPlane()Lorg/joml/Vector3f;
-
getDiagonalPlane
- Mappings:
Namespace Name Mixin selector official n
Lelt;n()Lorg/joml/Vector3f;
intermediary method_35689
Lnet/minecraft/class_4184;method_35689()Lorg/joml/Vector3f;
named getDiagonalPlane
Lnet/minecraft/client/render/Camera;getDiagonalPlane()Lorg/joml/Vector3f;
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector official o
Lelt;o()V
intermediary method_19337
Lnet/minecraft/class_4184;method_19337()V
named reset
Lnet/minecraft/client/render/Camera;reset()V
-