Package net.minecraft.client.renderer
Class ActiveRenderInfo
- java.lang.Object
-
- net.minecraft.client.renderer.ActiveRenderInfo
-
public class ActiveRenderInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private BlockPos.Mutable
blockPosition
private boolean
detached
private Entity
entity
private float
eyeHeight
private float
eyeHeightOld
private Vector3f
forwards
private boolean
initialized
private Vector3f
left
private IBlockReader
level
private boolean
mirror
private Vector3d
position
private Quaternion
rotation
private Vector3f
up
private float
xRot
private float
yRot
-
Constructor Summary
Constructors Constructor Description ActiveRenderInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockState
getBlockAtCamera()
BlockPos
getBlockPosition()
Entity
getEntity()
FluidState
getFluidInCamera()
Vector3f
getLookVector()
private double
getMaxZoom(double p_216779_1_)
Vector3d
getPosition()
Vector3f
getUpVector()
float
getXRot()
float
getYRot()
boolean
isDetached()
boolean
isInitialized()
protected void
move(double p_216782_1_, double p_216782_3_, double p_216782_5_)
void
reset()
Quaternion
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 Detail
-
initialized
private boolean initialized
-
level
private IBlockReader level
-
entity
private Entity entity
-
position
private Vector3d position
-
blockPosition
private final BlockPos.Mutable blockPosition
-
forwards
private final Vector3f forwards
-
up
private final Vector3f up
-
left
private final Vector3f left
-
xRot
private float xRot
-
yRot
private float yRot
-
rotation
private final Quaternion rotation
-
detached
private boolean detached
-
mirror
private boolean mirror
-
eyeHeight
private float eyeHeight
-
eyeHeightOld
private float eyeHeightOld
-
-
Method Detail
-
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
protected void setPosition(Vector3d p_216774_1_)
-
getPosition
public Vector3d getPosition()
-
getBlockPosition
public BlockPos getBlockPosition()
-
getXRot
public float getXRot()
-
getYRot
public float getYRot()
-
rotation
public Quaternion rotation()
-
getEntity
public Entity getEntity()
-
isInitialized
public boolean isInitialized()
-
isDetached
public boolean isDetached()
-
getFluidInCamera
public FluidState getFluidInCamera()
-
getLookVector
public final Vector3f getLookVector()
-
getUpVector
public final Vector3f getUpVector()
-
reset
public void reset()
-
setAnglesInternal
public void setAnglesInternal(float yaw, float pitch)
-
getBlockAtCamera
public BlockState getBlockAtCamera()
-
-