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$bintermediary net/minecraft/class_8384$class_8386named net/minecraft/class_8384$class_8386official cintermediary comp_1408named votesCountofficial dintermediary comp_1409named votersCountofficial eintermediary comp_1410named votes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final class_8384.class_8386static final Comparator<class_8384.class_8386>private final intThe field for thevotersCountrecord component.private final class_8375The field for thevotesrecord component.private final intThe field for thevotesCountrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8386(int int2, int int3, class_8375 class_8375) class_8386(class_8375 class_8375) -
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.final StringtoString()Returns a string representation of this record class.intReturns the value of thevotersCountrecord component.votes()Returns the value of thevotesrecord component.intReturns the value of thevotesCountrecord component.
-
Field Details
-
votesCount
private final int votesCountThe field for thevotesCountrecord component. -
votersCount
private final int votersCountThe field for thevotersCountrecord component. -
votes
The field for thevotesrecord component. -
field_44022
- Mappings:
Namespace Name Mixin selector official aLbgs$b;a:Lbgs$b;intermediary field_44022Lnet/minecraft/class_8384$class_8386;field_44022:Lnet/minecraft/class_8384$class_8386;named field_44022Lnet/minecraft/class_8384$class_8386;field_44022:Lnet/minecraft/class_8384$class_8386;
-
field_44023
- Mappings:
Namespace Name Mixin selector official bLbgs$b;b:Ljava/util/Comparator;intermediary field_44023Lnet/minecraft/class_8384$class_8386;field_44023:Ljava/util/Comparator;named field_44023Lnet/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 thevotesCountrecord component.- Returns:
- the value of the
votesCountrecord component
-
votersCount
public int votersCount()Returns the value of thevotersCountrecord component.- Returns:
- the value of the
votersCountrecord component
-
votes
Returns the value of thevotesrecord component.- Returns:
- the value of the
votesrecord component
-