Class UploadTokenCache

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

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

    • TOKEN_CACHE

      private static final Long2ObjectMap<String> TOKEN_CACHE
      Mappings:
      Namespace Name Mixin selector
      official a Ledp;a:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_20270 Lnet/minecraft/class_4453;field_20270:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      named TOKEN_CACHE Lnet/minecraft/client/realms/util/UploadTokenCache;TOKEN_CACHE: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 Ledp;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 Ledp;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 Ledp;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