Package net.minecraft
Record Class class_8384
java.lang.Object
java.lang.Record
net.minecraft.class_8384
- Record Components:
total-options-
public record class_8384(class_8384.class_8386 total, List<class_8384.class_8385> options)
extends Record
- Mappings:
Namespace Name official bgsintermediary net/minecraft/class_8384named net/minecraft/class_8384official aintermediary comp_1404named totalofficial bintermediary comp_1405named options
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_8384.class_8385>The field for theoptionsrecord component.private final class_8384.class_8386The field for thetotalrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8384(class_8384.class_8386 class_8386, List<class_8384.class_8385> list) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.options()Returns the value of theoptionsrecord component.final StringtoString()Returns a string representation of this record class.total()Returns the value of thetotalrecord component.
-
Field Details
-
Constructor Details
-
class_8384
-
-
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). -
total
Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-