Package net.minecraft
Record Class class_11247
java.lang.Object
java.lang.Record
net.minecraft.class_11247
- Record Components:
textRenderState-pose-x-y-backgroundZ-textShadowZ-effectShadowZ-textZ-effectZ-layer-scissorArea-
@Environment(CLIENT)
public record class_11247(class_11248 textRenderState, Matrix3x2f pose, int x, int y, float backgroundZ, float textShadowZ, float effectShadowZ, float textZ, float effectZ, class_11227 layer, @Nullable ScreenRect scissorArea)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11247intermediary net/minecraft/class_11247official fzunamed textRenderStateintermediary comp_4098official anamed poseintermediary comp_4099official bnamed xintermediary comp_4100official cnamed yintermediary comp_4101official dnamed backgroundZintermediary comp_4102official enamed textShadowZintermediary comp_4103official fnamed effectShadowZintermediary comp_4104official gnamed textZintermediary comp_4105official hnamed effectZintermediary comp_4106official inamed layerintermediary comp_4107official jnamed scissorAreaintermediary comp_4108official k
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thebackgroundZrecord component.private final floatThe field for theeffectShadowZrecord component.private final floatThe field for theeffectZrecord component.private final class_11227The field for thelayerrecord component.private final Matrix3x2fThe field for theposerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final class_11248The field for thetextRenderStaterecord component.private final floatThe field for thetextShadowZrecord component.private final floatThe field for thetextZrecord component.private final intThe field for thexrecord component.private final intThe field for theyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11247(class_11248 class_11248, Matrix3x2f matrix3x2f, int int2, int int3, float float2, float float3, float float4, float float5, float float6, class_11227 class_11227, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the value of thebackgroundZrecord component.floatReturns the value of theeffectShadowZrecord component.floateffectZ()Returns the value of theeffectZrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.layer()Returns the value of thelayerrecord component.pose()Returns the value of theposerecord component.Returns the value of thescissorArearecord component.Returns the value of thetextRenderStaterecord component.floatReturns the value of thetextShadowZrecord component.floattextZ()Returns the value of thetextZrecord component.final StringtoString()Returns a string representation of this record class.intx()Returns the value of thexrecord component.inty()Returns the value of theyrecord component.
-
Field Details
-
textRenderState
The field for thetextRenderStaterecord component. -
pose
The field for theposerecord component. -
x
private final int xThe field for thexrecord component. -
y
private final int yThe field for theyrecord component. -
backgroundZ
private final float backgroundZThe field for thebackgroundZrecord component. -
textShadowZ
private final float textShadowZThe field for thetextShadowZrecord component. -
effectShadowZ
private final float effectShadowZThe field for theeffectShadowZrecord component. -
textZ
private final float textZThe field for thetextZrecord component. -
effectZ
private final float effectZThe field for theeffectZrecord component. -
layer
The field for thelayerrecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
class_11247
public class_11247(class_11248 class_11248, Matrix3x2f matrix3x2f, int int2, int int3, float float2, float float3, float float4, float float5, float float6, class_11227 class_11227, @Nullable @Nullable ScreenRect screenRect)
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
textRenderState
Returns the value of thetextRenderStaterecord component.- Returns:
- the value of the
textRenderStaterecord component
-
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-
x
public int x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public int y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
backgroundZ
public float backgroundZ()Returns the value of thebackgroundZrecord component.- Returns:
- the value of the
backgroundZrecord component
-
textShadowZ
public float textShadowZ()Returns the value of thetextShadowZrecord component.- Returns:
- the value of the
textShadowZrecord component
-
effectShadowZ
public float effectShadowZ()Returns the value of theeffectShadowZrecord component.- Returns:
- the value of the
effectShadowZrecord component
-
textZ
public float textZ()Returns the value of thetextZrecord component.- Returns:
- the value of the
textZrecord component
-
effectZ
public float effectZ()Returns the value of theeffectZrecord component.- Returns:
- the value of the
effectZrecord component
-
layer
Returns the value of thelayerrecord component.- Returns:
- the value of the
layerrecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Returns:
- the value of the
scissorArearecord component
-