Package net.minecraft.client.renderer
Class ActiveRenderInfo
java.lang.Object
net.minecraft.client.renderer.ActiveRenderInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockPos.Mutable
private boolean
private Entity
private float
private float
private final Vector3f
private boolean
private final Vector3f
private IBlockReader
private boolean
private Vector3d
private final Quaternion
private final Vector3f
private float
private float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Vector3f
private double
getMaxZoom
(double p_216779_1_) final Vector3f
float
getXRot()
float
getYRot()
boolean
boolean
protected void
move
(double p_216782_1_, double p_216782_3_, double p_216782_5_) void
reset()
rotation()
void
setAnglesInternal
(float yaw, float pitch) protected void
setPosition
(double p_216775_1_, double p_216775_3_, double p_216775_5_) protected void
setPosition
(Vector3d p_216774_1_) protected void
setRotation
(float p_216776_1_, float p_216776_2_) void
setup
(IBlockReader p_216772_1_, Entity p_216772_2_, boolean p_216772_3_, boolean p_216772_4_, float p_216772_5_) void
tick()
-
Field Details
-
initialized
private boolean initialized -
level
-
entity
-
position
-
blockPosition
-
forwards
-
up
-
left
-
xRot
private float xRot -
yRot
private float yRot -
rotation
-
detached
private boolean detached -
mirror
private boolean mirror -
eyeHeight
private float eyeHeight -
eyeHeightOld
private float eyeHeightOld
-
-
Constructor Details
-
ActiveRenderInfo
public ActiveRenderInfo()
-
-
Method Details
-
setup
public void setup(IBlockReader p_216772_1_, Entity p_216772_2_, boolean p_216772_3_, boolean p_216772_4_, float p_216772_5_) -
tick
public void tick() -
getMaxZoom
private double getMaxZoom(double p_216779_1_) -
move
protected void move(double p_216782_1_, double p_216782_3_, double p_216782_5_) -
setRotation
protected void setRotation(float p_216776_1_, float p_216776_2_) -
setPosition
protected void setPosition(double p_216775_1_, double p_216775_3_, double p_216775_5_) -
setPosition
-
getPosition
-
getBlockPosition
-
getXRot
public float getXRot() -
getYRot
public float getYRot() -
rotation
-
getEntity
-
isInitialized
public boolean isInitialized() -
isDetached
public boolean isDetached() -
getFluidInCamera
-
getLookVector
-
getUpVector
-
reset
public void reset() -
setAnglesInternal
public void setAnglesInternal(float yaw, float pitch) -
getBlockAtCamera
-