Package net.minecraft

Record Class class_11819

java.lang.Object
java.lang.Record
net.minecraft.class_11819
Record Components:
id -
name -

public record class_11819(Optional<UUID> id, Optional<String> name) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11819
intermediary net/minecraft/class_11819
official aui
named id
intermediary comp_4689
official b
named name
intermediary comp_4690
official c
  • Field Details

    • id

      private final Optional<UUID> id
      The field for the id record component.
    • name

      private final Optional<String> name
      The field for the name record component.
    • field_62344

      public static final com.mojang.serialization.MapCodec<class_11819> field_62344
      Mappings:
      Namespace Name Mixin selector
      named field_62344 Lnet/minecraft/class_11819;field_62344:Lcom/mojang/serialization/MapCodec;
      intermediary field_62344 Lnet/minecraft/class_11819;field_62344:Lcom/mojang/serialization/MapCodec;
      official a Laui;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • method_73710

      public static class_11819 method_73710(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      named method_73710 Lnet/minecraft/class_11819;method_73710(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_11819;
      intermediary method_73710 Lnet/minecraft/class_11819;method_73710(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_11819;
      official a Laui;a(Lcom/mojang/authlib/GameProfile;)Laui;
    • method_73709

      public static class_11819 method_73709(PlayerConfigEntry playerConfigEntry)
      Mappings:
      Namespace Name Mixin selector
      named method_73709 Lnet/minecraft/class_11819;method_73709(Lnet/minecraft/server/PlayerConfigEntry;)Lnet/minecraft/class_11819;
      intermediary method_73709 Lnet/minecraft/class_11819;method_73709(Lnet/minecraft/class_11560;)Lnet/minecraft/class_11819;
      official a Laui;a(Lbaw;)Laui;
    • method_73708

      public static class_11819 method_73708(ServerPlayerEntity serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      named method_73708 Lnet/minecraft/class_11819;method_73708(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/class_11819;
      intermediary method_73708 Lnet/minecraft/class_11819;method_73708(Lnet/minecraft/class_3222;)Lnet/minecraft/class_11819;
      official a Laui;a(Lawt;)Laui;
    • 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.
    • id

      public Optional<UUID> id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • name

      public Optional<String> name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component