Class UploadTokenCache

java.lang.Object
net.minecraft.client.realms.util.UploadTokenCache

@Environment(CLIENT) public class UploadTokenCache extends Object
Mappings:
Namespace Name
official dug
intermediary net/minecraft/class_4453
named net/minecraft/client/realms/util/UploadTokenCache
  • Field Details

    • tokenCache

      private static final Long2ObjectMap<String> tokenCache
      Mappings:
      Namespace Name Mixin selector
      official a Ldug;a:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_20270 Lnet/minecraft/class_4453;field_20270:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      named tokenCache Lnet/minecraft/client/realms/util/UploadTokenCache;tokenCache:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
  • Constructor Details

    • UploadTokenCache

      public UploadTokenCache()
  • Method Details

    • get

      public static String get(long worldId)
      Mappings:
      Namespace Name Mixin selector
      official a Ldug;a(J)Ljava/lang/String;
      intermediary method_21585 Lnet/minecraft/class_4453;method_21585(J)Ljava/lang/String;
      named get Lnet/minecraft/client/realms/util/UploadTokenCache;get(J)Ljava/lang/String;
    • invalidate

      public static void invalidate(long world)
      Mappings:
      Namespace Name Mixin selector
      official b Ldug;b(J)V
      intermediary method_21587 Lnet/minecraft/class_4453;method_21587(J)V
      named invalidate Lnet/minecraft/client/realms/util/UploadTokenCache;invalidate(J)V
    • put

      public static void put(long wid, String token)
      Mappings:
      Namespace Name Mixin selector
      official a Ldug;a(JLjava/lang/String;)V
      intermediary method_21586 Lnet/minecraft/class_4453;method_21586(JLjava/lang/String;)V
      named put Lnet/minecraft/client/realms/util/UploadTokenCache;put(JLjava/lang/String;)V