Package net.minecraft.client.renderer
Record Class LevelRenderer.FinalizedGizmos
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.LevelRenderer.FinalizedGizmos
- Enclosing class:
LevelRenderer
static record LevelRenderer.FinalizedGizmos(DrawableGizmoPrimitives standardPrimitives, DrawableGizmoPrimitives alwaysOnTopPrimitives)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DrawableGizmoPrimitivesThe field for thealwaysOnTopPrimitivesrecord component.private final DrawableGizmoPrimitivesThe field for thestandardPrimitivesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionFinalizedGizmos(DrawableGizmoPrimitives standardPrimitives, DrawableGizmoPrimitives alwaysOnTopPrimitives) Creates an instance of aFinalizedGizmosrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealwaysOnTopPrimitivesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thestandardPrimitivesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
standardPrimitives
The field for thestandardPrimitivesrecord component. -
alwaysOnTopPrimitives
The field for thealwaysOnTopPrimitivesrecord component.
-
-
Constructor Details
-
FinalizedGizmos
FinalizedGizmos(DrawableGizmoPrimitives standardPrimitives, DrawableGizmoPrimitives alwaysOnTopPrimitives) Creates an instance of aFinalizedGizmosrecord class.- Parameters:
standardPrimitives- the value for thestandardPrimitivesrecord componentalwaysOnTopPrimitives- the value for thealwaysOnTopPrimitivesrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
standardPrimitives
Returns the value of thestandardPrimitivesrecord component.- Returns:
- the value of the
standardPrimitivesrecord component
-
alwaysOnTopPrimitives
Returns the value of thealwaysOnTopPrimitivesrecord component.- Returns:
- the value of the
alwaysOnTopPrimitivesrecord component
-