Record Class OrderedRenderCommandQueueImpl.TextCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.TextCommand
- Record Components:
matricesEntry-x-y-text-dropShadow-layerType-lightCoords-color-backgroundColor-outlineColor-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.TextCommand(Matrix4f matricesEntry, float x, float y, OrderedText text, boolean dropShadow, TextRenderer.TextLayerType layerType, int lightCoords, int color, int backgroundColor, int outlineColor)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$TextCommandintermediary net/minecraft/class_11661$class_11674official hgz$mnamed matricesEntryintermediary comp_4525official anamed xintermediary comp_4526official bnamed yintermediary comp_4527official cnamed textintermediary comp_4528official dnamed dropShadowintermediary comp_4529official enamed layerTypeintermediary comp_4530official fnamed lightCoordsintermediary comp_4531official gnamed colorintermediary comp_4532official hnamed backgroundColorintermediary comp_4533official inamed outlineColorintermediary comp_4654official j
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thebackgroundColorrecord component.private final intThe field for thecolorrecord component.private final booleanThe field for thedropShadowrecord component.private final TextRenderer.TextLayerTypeThe field for thelayerTyperecord component.private final intThe field for thelightCoordsrecord component.private final Matrix4fThe field for thematricesEntryrecord component.private final intThe field for theoutlineColorrecord component.private final OrderedTextThe field for thetextrecord component.private final floatThe field for thexrecord component.private final floatThe field for theyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTextCommand(Matrix4f matrix4f, float float2, float float3, OrderedText orderedText, boolean bool, TextRenderer.TextLayerType textLayerType, int int2, int int3, int int4, int int5) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebackgroundColorrecord component.intcolor()Returns the value of thecolorrecord component.booleanReturns the value of thedropShadowrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelayerTyperecord component.intReturns the value of thelightCoordsrecord component.Returns the value of thematricesEntryrecord component.intReturns the value of theoutlineColorrecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.floatx()Returns the value of thexrecord component.floaty()Returns the value of theyrecord component.
-
Field Details
-
matricesEntry
The field for thematricesEntryrecord component. -
x
private final float xThe field for thexrecord component. -
y
private final float yThe field for theyrecord component. -
text
The field for thetextrecord component. -
dropShadow
private final boolean dropShadowThe field for thedropShadowrecord component. -
layerType
The field for thelayerTyperecord component. -
lightCoords
private final int lightCoordsThe field for thelightCoordsrecord component. -
color
private final int colorThe field for thecolorrecord component. -
backgroundColor
private final int backgroundColorThe field for thebackgroundColorrecord component. -
outlineColor
private final int outlineColorThe field for theoutlineColorrecord component.
-
-
Constructor Details
-
TextCommand
public TextCommand(Matrix4f matrix4f, float float2, float float3, OrderedText orderedText, boolean bool, TextRenderer.TextLayerType textLayerType, int int2, int int3, int int4, int int5)
-
-
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 '=='. -
matricesEntry
Returns the value of thematricesEntryrecord component.- Returns:
- the value of the
matricesEntryrecord component
-
x
public float x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public float y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
dropShadow
public boolean dropShadow()Returns the value of thedropShadowrecord component.- Returns:
- the value of the
dropShadowrecord component
-
layerType
Returns the value of thelayerTyperecord component.- Returns:
- the value of the
layerTyperecord component
-
lightCoords
public int lightCoords()Returns the value of thelightCoordsrecord component.- Returns:
- the value of the
lightCoordsrecord component
-
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
backgroundColor
public int backgroundColor()Returns the value of thebackgroundColorrecord component.- Returns:
- the value of the
backgroundColorrecord component
-
outlineColor
public int outlineColor()Returns the value of theoutlineColorrecord component.- Returns:
- the value of the
outlineColorrecord component
-