Class UploadTokenCache

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

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

    • TOKEN_CACHE

      private static final Long2ObjectMap<String> TOKEN_CACHE
      Mappings:
      Namespace Name Mixin selector
      named TOKEN_CACHE Lnet/minecraft/client/realms/util/UploadTokenCache;TOKEN_CACHE:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_20270 Lnet/minecraft/class_4453;field_20270:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      official a Lfdz;a: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
      named get Lnet/minecraft/client/realms/util/UploadTokenCache;get(J)Ljava/lang/String;
      intermediary method_21585 Lnet/minecraft/class_4453;method_21585(J)Ljava/lang/String;
      official a Lfdz;a(J)Ljava/lang/String;
    • invalidate

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

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