Record Class BatchingEntityRenderCommandQueue.class_11789
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.command.BatchingEntityRenderCommandQueue.class_11789
- Record Components:
pose-modelPart-lightCoords-overlayCoords-sprite-sheeted-hasFoil-tintedColor-
- Enclosing class:
BatchingEntityRenderCommandQueue
@Environment(CLIENT)
public static record BatchingEntityRenderCommandQueue.class_11789(MatrixStack.Entry pose, ModelPart modelPart, int lightCoords, int overlayCoords, @Nullable Sprite sprite, boolean sheeted, boolean hasFoil, int tintedColor)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/entity/command/BatchingEntityRenderCommandQueue$class_11789intermediary net/minecraft/class_11661$class_11789official hcl$hnamed poseintermediary comp_4643official anamed modelPartintermediary comp_4644official bnamed lightCoordsintermediary comp_4645official cnamed overlayCoordsintermediary comp_4646official dnamed spriteintermediary comp_4647official enamed sheetedintermediary comp_4648official fnamed hasFoilintermediary comp_4649official gnamed tintedColorintermediary comp_4650official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for thehasFoilrecord component.private final intThe field for thelightCoordsrecord component.private final ModelPartThe field for themodelPartrecord component.private final intThe field for theoverlayCoordsrecord component.private final MatrixStack.EntryThe field for theposerecord component.private final booleanThe field for thesheetedrecord component.The field for thespriterecord component.private final intThe field for thetintedColorrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11789(MatrixStack.Entry entry, ModelPart modelPart, int int2, int int3, @Nullable Sprite sprite, boolean bool, boolean bool2, int int4) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanhasFoil()Returns the value of thehasFoilrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thelightCoordsrecord component.Returns the value of themodelPartrecord component.intReturns the value of theoverlayCoordsrecord component.pose()Returns the value of theposerecord 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
-
pose
The field for theposerecord 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. -
hasFoil
private final boolean hasFoilThe field for thehasFoilrecord component. -
tintedColor
private final int tintedColorThe field for thetintedColorrecord component.
-
-
Constructor Details
-
class_11789
public class_11789(MatrixStack.Entry entry, ModelPart modelPart, int int2, int int3, @Nullable @Nullable Sprite sprite, boolean bool, boolean bool2, int int4)
-
-
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
-
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
-
hasFoil
public boolean hasFoil()Returns the value of thehasFoilrecord component.- Returns:
- the value of the
hasFoilrecord component
-
tintedColor
public int tintedColor()Returns the value of thetintedColorrecord component.- Returns:
- the value of the
tintedColorrecord component
-