Package net.minecraft

Record Class class_8373

java.lang.Object
java.lang.Record
net.minecraft.class_8373
Record Components:
voteId -
index -

public record class_8373(UUID voteId, int index) extends Record
Mappings:
Namespace Name
official bgm
intermediary net/minecraft/class_8373
named net/minecraft/class_8373
official f
intermediary comp_1382
named voteId
official g
intermediary comp_1383
named index
  • Field Details

    • voteId

      private final UUID voteId
      The field for the voteId record component.
    • index

      private final int index
      The field for the index record component.
    • field_43985

      public static final Comparator<class_8373> field_43985
      Mappings:
      Namespace Name Mixin selector
      official a Lbgm;a:Ljava/util/Comparator;
      intermediary field_43985 Lnet/minecraft/class_8373;field_43985:Ljava/util/Comparator;
      named field_43985 Lnet/minecraft/class_8373;field_43985:Ljava/util/Comparator;
    • field_43986

      public static final com.mojang.serialization.Codec<class_8373> field_43986
      Mappings:
      Namespace Name Mixin selector
      official b Lbgm;b:Lcom/mojang/serialization/Codec;
      intermediary field_43986 Lnet/minecraft/class_8373;field_43986:Lcom/mojang/serialization/Codec;
      named field_43986 Lnet/minecraft/class_8373;field_43986:Lcom/mojang/serialization/Codec;
    • field_43987

      public static final com.mojang.serialization.Codec<class_8373> field_43987
      Mappings:
      Namespace Name Mixin selector
      official c Lbgm;c:Lcom/mojang/serialization/Codec;
      intermediary field_43987 Lnet/minecraft/class_8373;field_43987:Lcom/mojang/serialization/Codec;
      named field_43987 Lnet/minecraft/class_8373;field_43987:Lcom/mojang/serialization/Codec;
    • field_43988

      public static final PacketByteBuf.PacketReader<class_8373> field_43988
      Mappings:
      Namespace Name Mixin selector
      official d Lbgm;d:Lsf$a;
      intermediary field_43988 Lnet/minecraft/class_8373;field_43988:Lnet/minecraft/class_2540$class_7461;
      named field_43988 Lnet/minecraft/class_8373;field_43988:Lnet/minecraft/network/PacketByteBuf$PacketReader;
    • field_43989

      public static final PacketByteBuf.PacketWriter<class_8373> field_43989
      Mappings:
      Namespace Name Mixin selector
      official e Lbgm;e:Lsf$b;
      intermediary field_43989 Lnet/minecraft/class_8373;field_43989:Lnet/minecraft/class_2540$class_7462;
      named field_43989 Lnet/minecraft/class_8373;field_43989:Lnet/minecraft/network/PacketByteBuf$PacketWriter;
  • Constructor Details

    • class_8373

      public class_8373(UUID uUID, int int2)
  • Method Details

    • toString

      public 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.
    • voteId

      public UUID voteId()
      Returns the value of the voteId record component.
      Returns:
      the value of the voteId record component
    • index

      public int index()
      Returns the value of the index record component.
      Returns:
      the value of the index record component