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 Details

    • votesCount

      private final int votesCount
      The field for the votesCount record component.
    • votersCount

      private final int votersCount
      The field for the votersCount record component.
    • votes

      private final class_8375 votes
      The field for the votes record component.
    • field_44022

      public static final class_8384.class_8386 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

      public static final Comparator<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

      public class_8386(class_8375 class_8375)
    • class_8386

      public class_8386(int int2, int int3, class_8375 class_8375)
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • votesCount

      public int votesCount()
      Returns the value of the votesCount record component.
      Returns:
      the value of the votesCount record component
    • votersCount

      public int votersCount()
      Returns the value of the votersCount record component.
      Returns:
      the value of the votersCount record component
    • votes

      public class_8375 votes()
      Returns the value of the votes record component.
      Returns:
      the value of the votes record component