net.minecraft.client.render

public class Camera

implements TrackedWaypoint$YawProvider

net.minecraft.client.Camera
net.minecraft.class_4184
net.minecraft.client.render.Camera

Field summary

Modifier and TypeField
private static final float
DEFAULT_CAMERA_DISTANCE
field_47841
BASE_CAMERA_DISTANCE
private static final org.joml.Vector3f
FORWARDS
field_52123
HORIZONTAL
private static final org.joml.Vector3f
UP
field_52124
VERTICAL
private static final org.joml.Vector3f
LEFT
field_52125
DIAGONAL
private boolean
initialized
field_18709
ready
private World
level
field_18710
area
private Entity
entity
field_18711
focusedEntity
private Vec3d
position
field_18712
pos
private final BlockPos$Mutable
blockPosition
field_18713
blockPos
private final org.joml.Vector3f
forwards
field_18714
horizontalPlane
private final org.joml.Vector3f
up
field_18715
verticalPlane
private final org.joml.Vector3f
left
field_18716
diagonalPlane
private float
xRot
field_18717
pitch
private float
yRot
field_18718
yaw
private final org.joml.Quaternionf
rotation
field_21518
rotation
private boolean
detached
field_18719
thirdPerson
private float
eyeHeight
field_18721
cameraY
private float
eyeHeightOld
field_18722
lastCameraY
private float
partialTickTime
field_47549
lastTickProgress
private final EnvironmentAttributeInterpolator
attributeProbe
field_63830
environmentAttributeInterpolator

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
setup(Level level, Entity entity, boolean detached, boolean mirror, float a)
method_19321(class_1937 arg0, class_1297 arg1, boolean arg2, boolean arg3, float arg4)
update(World area, Entity focusedEntity, boolean thirdPerson, boolean inverseView, float tickProgress)
public void
tick()
method_19317()
updateEyeHeight()
private float
getMaxZoom(float cameraDist)
method_19318(float arg0)
clipToSpace(float distance)
protected void
move(float forwards, float up, float right)
method_19324(float arg0, float arg1, float arg2)
moveBy(float surge, float heave, float sway)
protected void
setRotation(float yRot, float xRot)
method_19325(float arg0, float arg1)
setRotation(float yaw, float pitch)
protected void
setPosition(double x, double y, double z)
method_19327(double arg0, double arg1, double arg2)
setPos(double x, double y, double z)
protected void
setPosition(Vec3 position)
method_19322(class_243 arg0)
setPos(Vec3d pos)
public Vec3d
position()
method_71156()
getCameraPos()
public BlockPos
blockPosition()
method_19328()
getBlockPos()
public float
xRot()
method_19329()
getPitch()
public float
yRot()
method_19330()
getYaw()
public float
yaw()
method_71155()
getCameraYaw()
public org.joml.Quaternionf
rotation()
method_23767()
getRotation()
public Entity
entity()
method_19331()
getFocusedEntity()
public boolean
isInitialized()
method_19332()
isReady()
public boolean
isDetached()
method_19333()
isThirdPerson()
public EnvironmentAttributeInterpolator
attributeProbe()
method_75756()
getEnvironmentAttributeInterpolator()
public Camera$Projection
getNearPlane()
method_36425()
getProjection()
public CameraSubmersionType
getFluidInCamera()
method_19334()
getSubmersionType()
public org.joml.Vector3fc
forwardVector()
method_19335()
getHorizontalPlane()
public org.joml.Vector3fc
upVector()
method_19336()
getVerticalPlane()
public org.joml.Vector3fc
leftVector()
method_35689()
getDiagonalPlane()
public void
reset()
method_19337()
reset()
public float
getPartialTickTime()
method_55437()
getLastTickProgress()