Package net.minecraft
Record Class class_8373
java.lang.Object
java.lang.Record
net.minecraft.class_8373
- Record Components:
voteId-index-
- Mappings:
Namespace Name official bgmintermediary net/minecraft/class_8373named net/minecraft/class_8373official fintermediary comp_1382named voteIdofficial gintermediary comp_1383named index
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<class_8373>static final com.mojang.serialization.Codec<class_8373>static final com.mojang.serialization.Codec<class_8373>static final PacketByteBuf.PacketReader<class_8373>static final PacketByteBuf.PacketWriter<class_8373>private final intThe field for theindexrecord component.private final UUIDThe field for thevoteIdrecord component. -
Constructor Summary
Constructors -
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.intindex()Returns the value of theindexrecord component.toString()Returns a string representation of this record class.voteId()Returns the value of thevoteIdrecord component.
-
Field Details
-
voteId
The field for thevoteIdrecord component. -
index
private final int indexThe field for theindexrecord component. -
field_43985
- Mappings:
Namespace Name Mixin selector official aLbgm;a:Ljava/util/Comparator;intermediary field_43985Lnet/minecraft/class_8373;field_43985:Ljava/util/Comparator;named field_43985Lnet/minecraft/class_8373;field_43985:Ljava/util/Comparator;
-
field_43986
- Mappings:
Namespace Name Mixin selector official bLbgm;b:Lcom/mojang/serialization/Codec;intermediary field_43986Lnet/minecraft/class_8373;field_43986:Lcom/mojang/serialization/Codec;named field_43986Lnet/minecraft/class_8373;field_43986:Lcom/mojang/serialization/Codec;
-
field_43987
- Mappings:
Namespace Name Mixin selector official cLbgm;c:Lcom/mojang/serialization/Codec;intermediary field_43987Lnet/minecraft/class_8373;field_43987:Lcom/mojang/serialization/Codec;named field_43987Lnet/minecraft/class_8373;field_43987:Lcom/mojang/serialization/Codec;
-
field_43988
- Mappings:
Namespace Name Mixin selector official dLbgm;d:Lsf$a;intermediary field_43988Lnet/minecraft/class_8373;field_43988:Lnet/minecraft/class_2540$class_7461;named field_43988Lnet/minecraft/class_8373;field_43988:Lnet/minecraft/network/PacketByteBuf$PacketReader;
-
field_43989
- Mappings:
Namespace Name Mixin selector official eLbgm;e:Lsf$b;intermediary field_43989Lnet/minecraft/class_8373;field_43989:Lnet/minecraft/class_2540$class_7462;named field_43989Lnet/minecraft/class_8373;field_43989:Lnet/minecraft/network/PacketByteBuf$PacketWriter;
-
-
Constructor Details
-
class_8373
-
-
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 '=='. -
voteId
Returns the value of thevoteIdrecord component.- Returns:
- the value of the
voteIdrecord component
-
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-