Record Class BatchingEntityRenderCommandQueue.ItemCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.command.BatchingEntityRenderCommandQueue.ItemCommand
- Record Components:
pose-displayContext-lightCoords-overlayCoords-outlineColor-tintLayers-quads-renderType-foilType-
- Enclosing class:
BatchingEntityRenderCommandQueue
@Environment(CLIENT)
public static record BatchingEntityRenderCommandQueue.ItemCommand(MatrixStack.Entry pose, ItemDisplayContext displayContext, int lightCoords, int overlayCoords, int outlineColor, int[] tintLayers, List<BakedQuad> quads, RenderLayer renderType, ItemRenderState.Glint foilType)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/entity/command/BatchingEntityRenderCommandQueue$ItemCommandintermediary net/minecraft/class_11661$class_11668official hcl$fnamed poseintermediary 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 renderTypeintermediary comp_4641official hnamed foilTypeintermediary comp_4642official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ItemDisplayContextThe field for thedisplayContextrecord component.private final ItemRenderState.GlintThe field for thefoilTyperecord 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 theposerecord component.The field for thequadsrecord component.private final RenderLayerThe field for therenderTyperecord 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.foilType()Returns the value of thefoilTyperecord 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.pose()Returns the value of theposerecord component.quads()Returns the value of thequadsrecord component.Returns the value of therenderTyperecord component.int[]Returns the value of thetintLayersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pose
The field for theposerecord 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. -
renderType
The field for therenderTyperecord component. -
foilType
The field for thefoilTyperecord 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 '=='. -
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord 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
-
renderType
Returns the value of therenderTyperecord component.- Returns:
- the value of the
renderTyperecord component
-
foilType
Returns the value of thefoilTyperecord component.- Returns:
- the value of the
foilTyperecord component
-