Package net.minecraft.client.render
Class Camera
java.lang.Object
net.minecraft.client.render.Camera
- Mappings:
Namespace Name official eeh
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 Vec3f
static final float
private Entity
private final Vec3f
private float
private float
private Vec3d
private boolean
private final Quaternion
private boolean
private final Vec3f
private float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate double
clipToSpace
(double desiredCameraDistance) final Vec3f
final Vec3f
float
getPitch()
getPos()
Returns the field of vision of this camera.final Vec3f
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
Leeh;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
Leeh;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
Leeh;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
- Mappings:
Namespace Name Mixin selector official d
Leeh;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
- Mappings:
Namespace Name Mixin selector official e
Leeh;e:Ldvs;
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
Leeh;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
Leeh;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
- Mappings:
Namespace Name Mixin selector official h
Leeh;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
- Mappings:
Namespace Name Mixin selector official i
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
Leeh;a(Ldvs;)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
Leeh;b()Ldvs;
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
Leeh;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
Leeh;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
Leeh;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
Leeh;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
- Mappings:
Namespace Name Mixin selector official g
Leeh;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
Leeh;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
Leeh;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
Leeh;j()Leeh$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
Leeh;k()Ldoz;
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
Leeh;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
- Mappings:
Namespace Name Mixin selector official m
Leeh;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
- Mappings:
Namespace Name Mixin selector official n
Leeh;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
Leeh;o()V
intermediary method_19337
Lnet/minecraft/class_4184;method_19337()V
named reset
Lnet/minecraft/client/render/Camera;reset()V
-