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 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 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 int
The field for theindex
record component.private final UUID
The field for thevoteId
record component. -
Constructor Summary
Constructors -
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.int
index()
Returns the value of theindex
record component.toString()
Returns a string representation of this record class.voteId()
Returns the value of thevoteId
record component.
-
Field Details
-
voteId
The field for thevoteId
record component. -
index
private final int indexThe field for theindex
record component. -
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
- 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
- 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
- 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
- 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
-
-
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 thevoteId
record component.- Returns:
- the value of the
voteId
record component
-
index
public int index()Returns the value of theindex
record component.- Returns:
- the value of the
index
record component
-