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 bguintermediary net/minecraft/class_8388named net/minecraft/class_8388official eintermediary comp_1415named displayNameofficial fintermediary comp_1416named voteCount
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thedisplayNamerecord 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 intThe field for thevoteCountrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_8388method_50581(@Nullable class_8388 class_8388, Text text, int int2) final StringtoString()Returns a string representation of this record class.intReturns the value of thevoteCountrecord component.
-
Field Details
-
displayName
The field for thedisplayNamerecord component. -
voteCount
private final int voteCountThe field for thevoteCountrecord component. -
field_44025
- Mappings:
Namespace Name Mixin selector official aLbgu;a:Ljava/util/Comparator;intermediary field_44025Lnet/minecraft/class_8388;field_44025:Ljava/util/Comparator;named field_44025Lnet/minecraft/class_8388;field_44025:Ljava/util/Comparator;
-
field_44026
- Mappings:
Namespace Name Mixin selector official bLbgu;b:Lcom/mojang/serialization/Codec;intermediary field_44026Lnet/minecraft/class_8388;field_44026:Lcom/mojang/serialization/Codec;named field_44026Lnet/minecraft/class_8388;field_44026:Lcom/mojang/serialization/Codec;
-
field_44027
- Mappings:
Namespace Name Mixin selector official cLbgu;c:Lsf$a;intermediary field_44027Lnet/minecraft/class_8388;field_44027:Lnet/minecraft/class_2540$class_7461;named field_44027Lnet/minecraft/class_8388;field_44027:Lnet/minecraft/network/PacketByteBuf$PacketReader;
-
field_44028
- Mappings:
Namespace Name Mixin selector official dLbgu;d:Lsf$b;intermediary field_44028Lnet/minecraft/class_8388;field_44028:Lnet/minecraft/class_2540$class_7462;named field_44028Lnet/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 aLbgu;a(Lbgu;Lsw;I)Lbgu;intermediary method_50581Lnet/minecraft/class_8388;method_50581(Lnet/minecraft/class_8388;Lnet/minecraft/class_2561;I)Lnet/minecraft/class_8388;named method_50581Lnet/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 thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
voteCount
public int voteCount()Returns the value of thevoteCountrecord component.- Returns:
- the value of the
voteCountrecord component
-