Record Class OrderedRenderCommandQueueImpl.ModelPartCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.ModelPartCommand
- Record Components:
matricesEntry-modelPart-lightCoords-overlayCoords-sprite-sheeted-hasGlint-tintedColor-crumblingOverlay-outlineColor-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.ModelPartCommand(MatrixStack.Entry matricesEntry, ModelPart modelPart, int lightCoords, int overlayCoords, @Nullable Sprite sprite, boolean sheeted, boolean hasGlint, int tintedColor, ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlay, int outlineColor)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$ModelPartCommandintermediary net/minecraft/class_11661$class_11789official hgz$hnamed matricesEntryintermediary comp_4643official anamed modelPartintermediary comp_4644official bnamed lightCoordsintermediary comp_4645official cnamed overlayCoordsintermediary comp_4646official dnamed spriteintermediary comp_4647official enamed sheetedintermediary comp_4648official fnamed hasGlintintermediary comp_4649official gnamed tintedColorintermediary comp_4650official hnamed crumblingOverlayintermediary comp_4760official inamed outlineColorintermediary comp_4940official j
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelCommandRenderer.CrumblingOverlayCommandThe field for thecrumblingOverlayrecord component.private final booleanThe field for thehasGlintrecord component.private final intThe field for thelightCoordsrecord component.private final MatrixStack.EntryThe field for thematricesEntryrecord component.private final ModelPartThe field for themodelPartrecord component.private final intThe field for theoutlineColorrecord component.private final intThe field for theoverlayCoordsrecord component.private final booleanThe field for thesheetedrecord component.The field for thespriterecord component.private final intThe field for thetintedColorrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionModelPartCommand(MatrixStack.Entry entry, ModelPart modelPart, int int2, int int3, @Nullable Sprite sprite, boolean bool, boolean bool2, int int4, ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand, int int5) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecrumblingOverlayrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanhasGlint()Returns the value of thehasGlintrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thelightCoordsrecord component.Returns the value of thematricesEntryrecord component.Returns the value of themodelPartrecord component.intReturns the value of theoutlineColorrecord component.intReturns the value of theoverlayCoordsrecord component.booleansheeted()Returns the value of thesheetedrecord component.sprite()Returns the value of thespriterecord component.intReturns the value of thetintedColorrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
matricesEntry
The field for thematricesEntryrecord component. -
modelPart
The field for themodelPartrecord component. -
lightCoords
private final int lightCoordsThe field for thelightCoordsrecord component. -
overlayCoords
private final int overlayCoordsThe field for theoverlayCoordsrecord component. -
sprite
The field for thespriterecord component. -
sheeted
private final boolean sheetedThe field for thesheetedrecord component. -
hasGlint
private final boolean hasGlintThe field for thehasGlintrecord component. -
tintedColor
private final int tintedColorThe field for thetintedColorrecord component. -
crumblingOverlay
The field for thecrumblingOverlayrecord component. -
outlineColor
private final int outlineColorThe field for theoutlineColorrecord component.
-
-
Constructor Details
-
ModelPartCommand
public ModelPartCommand(MatrixStack.Entry entry, ModelPart modelPart, int int2, int int3, @Nullable @Nullable Sprite sprite, boolean bool, boolean bool2, int int4, @Nullable ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand, 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
-
modelPart
Returns the value of themodelPartrecord component.- Returns:
- the value of the
modelPartrecord 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
-
sprite
Returns the value of thespriterecord component.- Returns:
- the value of the
spriterecord component
-
sheeted
public boolean sheeted()Returns the value of thesheetedrecord component.- Returns:
- the value of the
sheetedrecord component
-
hasGlint
public boolean hasGlint()Returns the value of thehasGlintrecord component.- Returns:
- the value of the
hasGlintrecord component
-
tintedColor
public int tintedColor()Returns the value of thetintedColorrecord component.- Returns:
- the value of the
tintedColorrecord component
-
crumblingOverlay
Returns the value of thecrumblingOverlayrecord component.- Returns:
- the value of the
crumblingOverlayrecord component
-
outlineColor
public int outlineColor()Returns the value of theoutlineColorrecord component.- Returns:
- the value of the
outlineColorrecord component
-