Record Class TextGuiElementRenderState
java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.TextGuiElementRenderState
- Record Components:
textRenderState-pose-x-y-scissorArea-bounds-
- All Implemented Interfaces:
class_11384
@Environment(CLIENT)
public record TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f pose, int x, int y, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds)
extends Record
implements class_11384
- Mappings:
Namespace Name named net/minecraft/client/gui/render/state/TextGuiElementRenderStateintermediary net/minecraft/class_11247official gatnamed textRenderStateintermediary comp_4098official anamed poseintermediary comp_4099official bnamed xintermediary comp_4100official cnamed yintermediary comp_4101official dnamed scissorAreaintermediary comp_4108official enamed boundsintermediary comp_4274official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable ScreenRectThe field for theboundsrecord component.private final Matrix3x2fThe field for theposerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final TextRenderStateThe field for thetextRenderStaterecord component.private final intThe field for thexrecord component.private final intThe field for theyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f matrix3x2f, int int2, int int3, @Nullable ScreenRect screenRect) TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f matrix3x2f, int int2, int int3, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) -
Method Summary
Modifier and TypeMethodDescriptionbounds()Returns the value of theboundsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static @Nullable ScreenRectmethod_71534(int int2, int int3, TextRenderState textRenderState, Matrix3x2f matrix3x2f, @Nullable ScreenRect screenRect) pose()Returns the value of theposerecord component.Returns the value of thescissorArearecord component.Returns the value of thetextRenderStaterecord 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. -
scissorArea
The field for thescissorArearecord component. -
bounds
The field for theboundsrecord component.
-
-
Constructor Details
-
TextGuiElementRenderState
public TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f matrix3x2f, int int2, int int3, @Nullable @Nullable ScreenRect screenRect) -
TextGuiElementRenderState
public TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f matrix3x2f, int int2, int int3, @Nullable @Nullable ScreenRect screenRect, @Nullable @Nullable ScreenRect screenRect2)
-
-
Method Details
-
method_71534
@Nullable public static @Nullable ScreenRect method_71534(int int2, int int3, TextRenderState textRenderState, Matrix3x2f matrix3x2f, @Nullable @Nullable ScreenRect screenRect) - Mappings:
Namespace Name Mixin selector named method_71534Lnet/minecraft/client/gui/render/state/TextGuiElementRenderState;method_71534(IILnet/minecraft/client/gui/render/state/TextRenderState;Lorg/joml/Matrix3x2f;Lnet/minecraft/client/gui/ScreenRect;)Lnet/minecraft/client/gui/ScreenRect;intermediary method_71534Lnet/minecraft/class_11247;method_71534(IILnet/minecraft/class_11248;Lorg/joml/Matrix3x2f;Lnet/minecraft/class_8030;)Lnet/minecraft/class_8030;official aLgat;a(IILgav;Lorg/joml/Matrix3x2f;Lfzz;)Lfzz;
-
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
-
scissorArea
Returns the value of thescissorArearecord component.- Returns:
- the value of the
scissorArearecord component
-
bounds
Returns the value of theboundsrecord component.- Specified by:
boundsin interfaceclass_11384- Returns:
- the value of the
boundsrecord component
-