Record Class OrderedRenderCommandQueueImpl.ItemCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.ItemCommand
- Record Components:
positionMatrix-displayContext-lightCoords-overlayCoords-outlineColor-tintLayers-quads-renderLayer-glintType-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.ItemCommand(MatrixStack.Entry positionMatrix, ItemDisplayContext displayContext, int lightCoords, int overlayCoords, int outlineColor, int[] tintLayers, List<BakedQuad> quads, RenderLayer renderLayer, ItemRenderState.Glint glintType)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$ItemCommandintermediary net/minecraft/class_11661$class_11668official hgz$fnamed positionMatrixintermediary comp_4498official anamed displayContextintermediary comp_4638official bnamed lightCoordsintermediary comp_4500official cnamed overlayCoordsintermediary comp_4501official dnamed outlineColorintermediary comp_4661official enamed tintLayersintermediary comp_4639official fnamed quadsintermediary comp_4640official gnamed renderLayerintermediary comp_4641official hnamed glintTypeintermediary comp_4642official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ItemDisplayContextThe field for thedisplayContextrecord component.private final ItemRenderState.GlintThe field for theglintTyperecord component.private final intThe field for thelightCoordsrecord component.private final intThe field for theoutlineColorrecord component.private final intThe field for theoverlayCoordsrecord component.private final MatrixStack.EntryThe field for thepositionMatrixrecord component.The field for thequadsrecord component.private final RenderLayerThe field for therenderLayerrecord component.private final int[]The field for thetintLayersrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionItemCommand(MatrixStack.Entry entry, ItemDisplayContext itemDisplayContext, int int2, int int3, int int4, int[] int5, List<BakedQuad> list, RenderLayer renderLayer, ItemRenderState.Glint glint) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayContextrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theglintTyperecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thelightCoordsrecord component.intReturns the value of theoutlineColorrecord component.intReturns the value of theoverlayCoordsrecord component.Returns the value of thepositionMatrixrecord component.quads()Returns the value of thequadsrecord component.Returns the value of therenderLayerrecord component.int[]Returns the value of thetintLayersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
positionMatrix
The field for thepositionMatrixrecord component. -
displayContext
The field for thedisplayContextrecord component. -
lightCoords
private final int lightCoordsThe field for thelightCoordsrecord component. -
overlayCoords
private final int overlayCoordsThe field for theoverlayCoordsrecord component. -
outlineColor
private final int outlineColorThe field for theoutlineColorrecord component. -
tintLayers
private final int[] tintLayersThe field for thetintLayersrecord component. -
quads
The field for thequadsrecord component. -
renderLayer
The field for therenderLayerrecord component. -
glintType
The field for theglintTyperecord component.
-
-
Constructor Details
-
ItemCommand
public ItemCommand(MatrixStack.Entry entry, ItemDisplayContext itemDisplayContext, int int2, int int3, int int4, int[] int5, List<BakedQuad> list, RenderLayer renderLayer, ItemRenderState.Glint glint)
-
-
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 '=='. -
positionMatrix
Returns the value of thepositionMatrixrecord component.- Returns:
- the value of the
positionMatrixrecord component
-
displayContext
Returns the value of thedisplayContextrecord component.- Returns:
- the value of the
displayContextrecord component
-
lightCoords
public int lightCoords()Returns the value of thelightCoordsrecord component.- Returns:
- the value of the
lightCoordsrecord component
-
overlayCoords
public int overlayCoords()Returns the value of theoverlayCoordsrecord component.- Returns:
- the value of the
overlayCoordsrecord component
-
outlineColor
public int outlineColor()Returns the value of theoutlineColorrecord component.- Returns:
- the value of the
outlineColorrecord component
-
tintLayers
public int[] tintLayers()Returns the value of thetintLayersrecord component.- Returns:
- the value of the
tintLayersrecord component
-
quads
Returns the value of thequadsrecord component.- Returns:
- the value of the
quadsrecord component
-
renderLayer
Returns the value of therenderLayerrecord component.- Returns:
- the value of the
renderLayerrecord component
-
glintType
Returns the value of theglintTyperecord component.- Returns:
- the value of the
glintTyperecord component
-