Package net.minecraft.client.render
Record Class WorldRenderer.class_12351
java.lang.Object
java.lang.Record
net.minecraft.client.render.WorldRenderer.class_12351
- Record Components:
standardPrimitives-alwaysOnTopPrimitives-
- Enclosing class:
WorldRenderer
@Environment(CLIENT)
private static record WorldRenderer.class_12351(GizmoDrawerImpl standardPrimitives, GizmoDrawerImpl alwaysOnTopPrimitives)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/WorldRenderer$class_12351intermediary net/minecraft/class_761$class_12351official hkj$bnamed standardPrimitivesintermediary comp_5236official anamed alwaysOnTopPrimitivesintermediary comp_5237official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GizmoDrawerImplThe field for thealwaysOnTopPrimitivesrecord component.private final GizmoDrawerImplThe field for thestandardPrimitivesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_12351(GizmoDrawerImpl standardPrimitives, GizmoDrawerImpl alwaysOnTopPrimitives) Creates an instance of aclass_12351record 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
-
class_12351
class_12351(GizmoDrawerImpl standardPrimitives, GizmoDrawerImpl alwaysOnTopPrimitives) Creates an instance of aclass_12351record 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
-