Package net.minecraft
Record Class class_8384.class_8386
java.lang.Object
java.lang.Record
net.minecraft.class_8384.class_8386
- Record Components:
votesCount
-votersCount
-votes
-
- Enclosing class:
class_8384
public static record class_8384.class_8386(int votesCount, int votersCount, class_8375 votes)
extends Record
- Mappings:
Namespace Name official bgs$b
intermediary net/minecraft/class_8384$class_8386
named net/minecraft/class_8384$class_8386
official c
intermediary comp_1408
named votesCount
official d
intermediary comp_1409
named votersCount
official e
intermediary comp_1410
named votes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final class_8384.class_8386
static final Comparator<class_8384.class_8386>
private final int
The field for thevotersCount
record component.private final class_8375
The field for thevotes
record component.private final int
The field for thevotesCount
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8386
(int int2, int int3, class_8375 class_8375) class_8386
(class_8375 class_8375) -
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.final String
toString()
Returns a string representation of this record class.int
Returns the value of thevotersCount
record component.votes()
Returns the value of thevotes
record component.int
Returns the value of thevotesCount
record component.
-
Field Details
-
votesCount
private final int votesCountThe field for thevotesCount
record component. -
votersCount
private final int votersCountThe field for thevotersCount
record component. -
votes
The field for thevotes
record component. -
field_44022
- Mappings:
Namespace Name Mixin selector official a
Lbgs$b;a:Lbgs$b;
intermediary field_44022
Lnet/minecraft/class_8384$class_8386;field_44022:Lnet/minecraft/class_8384$class_8386;
named field_44022
Lnet/minecraft/class_8384$class_8386;field_44022:Lnet/minecraft/class_8384$class_8386;
-
field_44023
- Mappings:
Namespace Name Mixin selector official b
Lbgs$b;b:Ljava/util/Comparator;
intermediary field_44023
Lnet/minecraft/class_8384$class_8386;field_44023:Ljava/util/Comparator;
named field_44023
Lnet/minecraft/class_8384$class_8386;field_44023:Ljava/util/Comparator;
-
-
Constructor Details
-
class_8386
-
class_8386
-
-
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 '=='. -
votesCount
public int votesCount()Returns the value of thevotesCount
record component.- Returns:
- the value of the
votesCount
record component
-
votersCount
public int votersCount()Returns the value of thevotersCount
record component.- Returns:
- the value of the
votersCount
record component
-
votes
Returns the value of thevotes
record component.- Returns:
- the value of the
votes
record component
-