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 bgs
intermediary net/minecraft/class_8384
named net/minecraft/class_8384
official a
intermediary comp_1404
named total
official b
intermediary comp_1405
named options
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_8384.class_8385>
The field for theoptions
record component.private final class_8384.class_8386
The field for thetotal
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8384
(class_8384.class_8386 class_8386, List<class_8384.class_8385> list) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.options()
Returns the value of theoptions
record component.final String
toString()
Returns a string representation of this record class.total()
Returns the value of thetotal
record 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 thetotal
record component.- Returns:
- the value of the
total
record component
-
options
Returns the value of theoptions
record component.- Returns:
- the value of the
options
record component
-