Package net.minecraft.client.renderer
Class ActiveRenderInfo
java.lang.Object
net.minecraft.client.renderer.ActiveRenderInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockPos.Mutableprivate booleanprivate Entityprivate floatprivate floatprivate final Vector3fprivate booleanprivate final Vector3fprivate IBlockReaderprivate booleanprivate Vector3dprivate final Quaternionprivate final Vector3fprivate floatprivate float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Vector3fprivate doublegetMaxZoom(double p_216779_1_) final Vector3ffloatgetXRot()floatgetYRot()booleanbooleanprotected voidmove(double p_216782_1_, double p_216782_3_, double p_216782_5_) voidreset()rotation()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 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
-