Package net.minecraft
Record Class class_8388
java.lang.Object
java.lang.Record
net.minecraft.class_8388
- Record Components:
displayName
-voteCount
-
- Mappings:
Namespace Name official bgu
intermediary net/minecraft/class_8388
named net/minecraft/class_8388
official e
intermediary comp_1415
named displayName
official f
intermediary comp_1416
named voteCount
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Text
The field for thedisplayName
record component.static final Comparator<class_8388>
static final com.mojang.serialization.Codec<class_8388>
static final PacketByteBuf.PacketReader<class_8388>
static final PacketByteBuf.PacketWriter<class_8388>
private final int
The field for thevoteCount
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayName
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.static class_8388
method_50581
(@Nullable class_8388 class_8388, Text text, int int2) final String
toString()
Returns a string representation of this record class.int
Returns the value of thevoteCount
record component.
-
Field Details
-
displayName
The field for thedisplayName
record component. -
voteCount
private final int voteCountThe field for thevoteCount
record component. -
field_44025
- Mappings:
Namespace Name Mixin selector official a
Lbgu;a:Ljava/util/Comparator;
intermediary field_44025
Lnet/minecraft/class_8388;field_44025:Ljava/util/Comparator;
named field_44025
Lnet/minecraft/class_8388;field_44025:Ljava/util/Comparator;
-
field_44026
- Mappings:
Namespace Name Mixin selector official b
Lbgu;b:Lcom/mojang/serialization/Codec;
intermediary field_44026
Lnet/minecraft/class_8388;field_44026:Lcom/mojang/serialization/Codec;
named field_44026
Lnet/minecraft/class_8388;field_44026:Lcom/mojang/serialization/Codec;
-
field_44027
- Mappings:
Namespace Name Mixin selector official c
Lbgu;c:Lsf$a;
intermediary field_44027
Lnet/minecraft/class_8388;field_44027:Lnet/minecraft/class_2540$class_7461;
named field_44027
Lnet/minecraft/class_8388;field_44027:Lnet/minecraft/network/PacketByteBuf$PacketReader;
-
field_44028
- Mappings:
Namespace Name Mixin selector official d
Lbgu;d:Lsf$b;
intermediary field_44028
Lnet/minecraft/class_8388;field_44028:Lnet/minecraft/class_2540$class_7462;
named field_44028
Lnet/minecraft/class_8388;field_44028:Lnet/minecraft/network/PacketByteBuf$PacketWriter;
-
-
Constructor Details
-
class_8388
-
-
Method Details
-
method_50581
public static class_8388 method_50581(@Nullable @Nullable class_8388 class_8388, Text text, int int2) - Mappings:
Namespace Name Mixin selector official a
Lbgu;a(Lbgu;Lsw;I)Lbgu;
intermediary method_50581
Lnet/minecraft/class_8388;method_50581(Lnet/minecraft/class_8388;Lnet/minecraft/class_2561;I)Lnet/minecraft/class_8388;
named method_50581
Lnet/minecraft/class_8388;method_50581(Lnet/minecraft/class_8388;Lnet/minecraft/text/Text;I)Lnet/minecraft/class_8388;
-
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 '=='. -
displayName
Returns the value of thedisplayName
record component.- Returns:
- the value of the
displayName
record component
-
voteCount
public int voteCount()Returns the value of thevoteCount
record component.- Returns:
- the value of the
voteCount
record component
-