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.MutableblockPositionprivate booleandetachedprivate Entityentityprivate floateyeHeightprivate floateyeHeightOldprivate Vector3fforwardsprivate booleaninitializedprivate Vector3fleftprivate IBlockReaderlevelprivate booleanmirrorprivate Vector3dpositionprivate Quaternionrotationprivate Vector3fupprivate floatxRotprivate floatyRot
-
Constructor Summary
Constructors Constructor Description ActiveRenderInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockStategetBlockAtCamera()BlockPosgetBlockPosition()EntitygetEntity()FluidStategetFluidInCamera()Vector3fgetLookVector()private doublegetMaxZoom(double p_216779_1_)Vector3dgetPosition()Vector3fgetUpVector()floatgetXRot()floatgetYRot()booleanisDetached()booleanisInitialized()protected voidmove(double p_216782_1_, double p_216782_3_, double p_216782_5_)voidreset()Quaternionrotation()voidsetAnglesInternal(float yaw, float pitch)protected voidsetPosition(double p_216775_1_, double p_216775_3_, double p_216775_5_)protected voidsetPosition(Vector3d p_216774_1_)protected voidsetRotation(float p_216776_1_, float p_216776_2_)voidsetup(IBlockReader p_216772_1_, Entity p_216772_2_, boolean p_216772_3_, boolean p_216772_4_, float p_216772_5_)voidtick()
-
-
-
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()
-
-