Package net.minecraft

Record Class class_8390.class_8392

java.lang.Object
java.lang.Record
net.minecraft.class_8390.class_8392
Record Components:
displayName -
All Implemented Interfaces:
class_8390
Enclosing interface:
class_8390

public static record class_8390.class_8392(Text displayName) extends Record implements class_8390
Mappings:
Namespace Name
official bgw$b
intermediary net/minecraft/class_8390$class_8392
named net/minecraft/class_8390$class_8392
official e
intermediary comp_1419
named displayName
  • Field Details

    • displayName

      private final Text displayName
      The field for the displayName record component.
    • field_44035

      static final com.mojang.serialization.Codec<class_8390.class_8392> field_44035
      Mappings:
      Namespace Name Mixin selector
      official f Lbgw$b;f:Lcom/mojang/serialization/Codec;
      intermediary field_44035 Lnet/minecraft/class_8390$class_8392;field_44035:Lcom/mojang/serialization/Codec;
      named field_44035 Lnet/minecraft/class_8390$class_8392;field_44035:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • class_8392

      public class_8392(Text text)
  • Method Details

    • method_50601

      public class_8390.class_8393 method_50601()
      Specified by:
      method_50601 in interface class_8390
      Mappings:
      Namespace Name Mixin selector
      official a Lbgw;a()Lbgw$c;
      intermediary method_50601 Lnet/minecraft/class_8390;method_50601()Lnet/minecraft/class_8390$class_8393;
      named method_50601 Lnet/minecraft/class_8390;method_50601()Lnet/minecraft/class_8390$class_8393;
    • method_50602

      public boolean method_50602(ServerPlayerEntity serverPlayerEntity, int int2, boolean bool)
      Specified by:
      method_50602 in interface class_8390
      Mappings:
      Namespace Name Mixin selector
      official a Lbgw;a(Lail;IZ)Z
      intermediary method_50602 Lnet/minecraft/class_8390;method_50602(Lnet/minecraft/class_3222;IZ)Z
      named method_50602 Lnet/minecraft/class_8390;method_50602(Lnet/minecraft/server/network/ServerPlayerEntity;IZ)Z
    • method_50604

      public Text method_50604()
      Specified by:
      method_50604 in interface class_8390
      Mappings:
      Namespace Name Mixin selector
      official b Lbgw;b()Lsw;
      intermediary method_50604 Lnet/minecraft/class_8390;method_50604()Lnet/minecraft/class_2561;
      named method_50604 Lnet/minecraft/class_8390;method_50604()Lnet/minecraft/text/Text;
    • toString

      public final 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • displayName

      public Text displayName()
      Returns the value of the displayName record component.
      Returns:
      the value of the displayName record component