Package net.minecraft

Record Class class_7428

java.lang.Object
java.lang.Record
net.minecraft.class_7428
Record Components:
expiresAt -
keyString -
signature -

public record class_7428(Instant expiresAt, String keyString, String signature) extends Record
Mappings:
Namespace Name
official brv
intermediary net/minecraft/class_7428
named net/minecraft/class_7428
official b
intermediary comp_744
named expiresAt
official c
intermediary comp_745
named keyString
official d
intermediary comp_746
named signature
  • Field Details

    • expiresAt

      private final Instant expiresAt
      The field for the expiresAt record component.
    • keyString

      private final String keyString
      The field for the keyString record component.
    • signature

      private final String signature
      The field for the signature record component.
    • field_39050

      public static final com.mojang.serialization.Codec<class_7428> field_39050
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv;a:Lcom/mojang/serialization/Codec;
      intermediary field_39050 Lnet/minecraft/class_7428;field_39050:Lcom/mojang/serialization/Codec;
      named field_39050 Lnet/minecraft/class_7428;field_39050:Lcom/mojang/serialization/Codec;
    • field_39051

      private static final String field_39051
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbrv;e:Ljava/lang/String;
      intermediary field_39051 Lnet/minecraft/class_7428;field_39051:Ljava/lang/String;
      named field_39051 Lnet/minecraft/class_7428;field_39051:Ljava/lang/String;
  • Constructor Details

  • Method Details

    • method_43549

      public static Optional<class_7428> method_43549(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv;a(Lcom/mojang/authlib/GameProfile;)Ljava/util/Optional;
      intermediary method_43549 Lnet/minecraft/class_7428;method_43549(Lcom/mojang/authlib/GameProfile;)Ljava/util/Optional;
      named method_43549 Lnet/minecraft/class_7428;method_43549(Lcom/mojang/authlib/GameProfile;)Ljava/util/Optional;
    • method_43555

      public com.mojang.authlib.GameProfile method_43555(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      official b Lbrv;b(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
      intermediary method_43555 Lnet/minecraft/class_7428;method_43555(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
      named method_43555 Lnet/minecraft/class_7428;method_43555(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
    • method_43550

      public class_7428.class_7429 method_43550(com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService) throws com.mojang.authlib.minecraft.InsecurePublicKeyException, NetworkEncryptionException
      Throws:
      com.mojang.authlib.minecraft.InsecurePublicKeyException
      NetworkEncryptionException
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv;a(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Lbrv$a;
      intermediary method_43550 Lnet/minecraft/class_7428;method_43550(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Lnet/minecraft/class_7428$class_7429;
      named method_43550 Lnet/minecraft/class_7428;method_43550(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Lnet/minecraft/class_7428$class_7429;
    • method_43552

      private static Optional<com.mojang.datafixers.util.Pair<Instant,String>> method_43552(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv;a(Ljava/lang/String;)Ljava/util/Optional;
      intermediary method_43552 Lnet/minecraft/class_7428;method_43552(Ljava/lang/String;)Ljava/util/Optional;
      named method_43552 Lnet/minecraft/class_7428;method_43552(Ljava/lang/String;)Ljava/util/Optional;
    • method_43548

      public com.mojang.authlib.properties.Property method_43548()
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv;a()Lcom/mojang/authlib/properties/Property;
      intermediary method_43548 Lnet/minecraft/class_7428;method_43548()Lcom/mojang/authlib/properties/Property;
      named method_43548 Lnet/minecraft/class_7428;method_43548()Lcom/mojang/authlib/properties/Property;
    • method_43554

      public boolean method_43554()
      Mappings:
      Namespace Name Mixin selector
      official b Lbrv;b()Z
      intermediary method_43554 Lnet/minecraft/class_7428;method_43554()Z
      named method_43554 Lnet/minecraft/class_7428;method_43554()Z
    • 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.
    • expiresAt

      public Instant expiresAt()
      Returns the value of the expiresAt record component.
      Returns:
      the value of the expiresAt record component
    • keyString

      public String keyString()
      Returns the value of the keyString record component.
      Returns:
      the value of the keyString record component
    • signature

      public String signature()
      Returns the value of the signature record component.
      Returns:
      the value of the signature record component