Record Class OrderedRenderCommandQueueImpl.BlockCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.BlockCommand
- Record Components:
matricesEntry-state-lightCoords-overlayCoords-outlineColor-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.BlockCommand(MatrixStack.Entry matricesEntry, BlockState state, int lightCoords, int overlayCoords, int outlineColor)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$BlockCommandintermediary net/minecraft/class_11661$class_11663official hgz$bnamed matricesEntryintermediary comp_4484official anamed stateintermediary comp_4485official bnamed lightCoordsintermediary comp_4486official cnamed overlayCoordsintermediary comp_4487official dnamed outlineColorintermediary comp_4660official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thelightCoordsrecord component.private final MatrixStack.EntryThe field for thematricesEntryrecord component.private final intThe field for theoutlineColorrecord component.private final intThe field for theoverlayCoordsrecord component.private final BlockStateThe field for thestaterecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBlockCommand(MatrixStack.Entry entry, BlockState blockState, int int2, int int3, int int4) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thelightCoordsrecord component.Returns the value of thematricesEntryrecord component.intReturns the value of theoutlineColorrecord component.intReturns the value of theoverlayCoordsrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
matricesEntry
The field for thematricesEntryrecord component. -
state
The field for thestaterecord 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.
-
-
Constructor Details
-
BlockCommand
-
-
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
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord 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
-