Class RealmsDataFetcher

java.lang.Object
net.minecraft.client.realms.gui.RealmsDataFetcher

@Environment(CLIENT) public class RealmsDataFetcher extends Object
Mappings:
Namespace Name
official dun
intermediary net/minecraft/class_4360
named net/minecraft/client/realms/gui/RealmsDataFetcher
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldun;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_19639 Lnet/minecraft/class_4360;field_19639:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/gui/RealmsDataFetcher;LOGGER:Lorg/apache/logging/log4j/Logger;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Ldun;b:Ldxo;
      intermediary field_28446 Lnet/minecraft/class_4360;field_28446:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/realms/gui/RealmsDataFetcher;client:Lnet/minecraft/client/MinecraftClient;
    • realms

      private final RealmsClient realms
      Mappings:
      Namespace Name Mixin selector
      official c Ldun;c:Ldsy;
      intermediary field_28447 Lnet/minecraft/class_4360;field_28447:Lnet/minecraft/class_4341;
      named realms Lnet/minecraft/client/realms/gui/RealmsDataFetcher;realms:Lnet/minecraft/client/realms/RealmsClient;
    • scheduler

      private final ScheduledExecutorService scheduler
      Mappings:
      Namespace Name Mixin selector
      official d Ldun;d:Ljava/util/concurrent/ScheduledExecutorService;
      intermediary field_19640 Lnet/minecraft/class_4360;field_19640:Ljava/util/concurrent/ScheduledExecutorService;
      named scheduler Lnet/minecraft/client/realms/gui/RealmsDataFetcher;scheduler:Ljava/util/concurrent/ScheduledExecutorService;
    • stopped

      private volatile boolean stopped
      Mappings:
      Namespace Name Mixin selector
      official e Ldun;e:Z
      intermediary field_19641 Lnet/minecraft/class_4360;field_19641:Z
      named stopped Lnet/minecraft/client/realms/gui/RealmsDataFetcher;stopped:Z
    • serverListUpdateTask

      private final FetchTask serverListUpdateTask
      Mappings:
      Namespace Name Mixin selector
      official f Ldun;f:Ldvu;
      intermediary field_19642 Lnet/minecraft/class_4360;field_19642:Lnet/minecraft/class_5784;
      named serverListUpdateTask Lnet/minecraft/client/realms/gui/RealmsDataFetcher;serverListUpdateTask:Lnet/minecraft/client/realms/gui/FetchTask;
    • liveStatsTask

      private final FetchTask liveStatsTask
      Mappings:
      Namespace Name Mixin selector
      official g Ldun;g:Ldvu;
      intermediary field_19645 Lnet/minecraft/class_4360;field_19645:Lnet/minecraft/class_5784;
      named liveStatsTask Lnet/minecraft/client/realms/gui/RealmsDataFetcher;liveStatsTask:Lnet/minecraft/client/realms/gui/FetchTask;
    • pendingInviteUpdateTask

      private final FetchTask pendingInviteUpdateTask
      Mappings:
      Namespace Name Mixin selector
      official h Ldun;h:Ldvu;
      intermediary field_19643 Lnet/minecraft/class_4360;field_19643:Lnet/minecraft/class_5784;
      named pendingInviteUpdateTask Lnet/minecraft/client/realms/gui/RealmsDataFetcher;pendingInviteUpdateTask:Lnet/minecraft/client/realms/gui/FetchTask;
    • trialAvailabilityTask

      private final FetchTask trialAvailabilityTask
      Mappings:
      Namespace Name Mixin selector
      official i Ldun;i:Ldvu;
      intermediary field_19644 Lnet/minecraft/class_4360;field_19644:Lnet/minecraft/class_5784;
      named trialAvailabilityTask Lnet/minecraft/client/realms/gui/RealmsDataFetcher;trialAvailabilityTask:Lnet/minecraft/client/realms/gui/FetchTask;
    • unreadNewsTask

      private final FetchTask unreadNewsTask
      Mappings:
      Namespace Name Mixin selector
      official j Ldun;j:Ldvu;
      intermediary field_19646 Lnet/minecraft/class_4360;field_19646:Lnet/minecraft/class_5784;
      named unreadNewsTask Lnet/minecraft/client/realms/gui/RealmsDataFetcher;unreadNewsTask:Lnet/minecraft/client/realms/gui/FetchTask;
    • persistence

      private final RealmsPersistence persistence
      Mappings:
      Namespace Name Mixin selector
      official k Ldun;k:Ldwa;
      intermediary field_28448 Lnet/minecraft/class_4360;field_28448:Lnet/minecraft/class_4432;
      named persistence Lnet/minecraft/client/realms/gui/RealmsDataFetcher;persistence:Lnet/minecraft/client/realms/util/RealmsPersistence;
    • removedServers

      private final Set<RealmsServer> removedServers
      Mappings:
      Namespace Name Mixin selector
      official l Ldun;l:Ljava/util/Set;
      intermediary field_19647 Lnet/minecraft/class_4360;field_19647:Ljava/util/Set;
      named removedServers Lnet/minecraft/client/realms/gui/RealmsDataFetcher;removedServers:Ljava/util/Set;
    • servers

      private List<RealmsServer> servers
      Mappings:
      Namespace Name Mixin selector
      official m Ldun;m:Ljava/util/List;
      intermediary field_19648 Lnet/minecraft/class_4360;field_19648:Ljava/util/List;
      named servers Lnet/minecraft/client/realms/gui/RealmsDataFetcher;servers:Ljava/util/List;
    • livestats

      private RealmsServerPlayerLists livestats
      Mappings:
      Namespace Name Mixin selector
      official n Ldun;n:Ldtt;
      intermediary field_19649 Lnet/minecraft/class_4360;field_19649:Lnet/minecraft/class_4882;
      named livestats Lnet/minecraft/client/realms/gui/RealmsDataFetcher;livestats:Lnet/minecraft/client/realms/dto/RealmsServerPlayerLists;
    • pendingInvitesCount

      private int pendingInvitesCount
      Mappings:
      Namespace Name Mixin selector
      official o Ldun;o:I
      intermediary field_19650 Lnet/minecraft/class_4360;field_19650:I
      named pendingInvitesCount Lnet/minecraft/client/realms/gui/RealmsDataFetcher;pendingInvitesCount:I
    • trialAvailable

      private boolean trialAvailable
      Mappings:
      Namespace Name Mixin selector
      official p Ldun;p:Z
      intermediary field_19651 Lnet/minecraft/class_4360;field_19651:Z
      named trialAvailable Lnet/minecraft/client/realms/gui/RealmsDataFetcher;trialAvailable:Z
    • hasUnreadNews

      private boolean hasUnreadNews
      Mappings:
      Namespace Name Mixin selector
      official q Ldun;q:Z
      intermediary field_19652 Lnet/minecraft/class_4360;field_19652:Z
      named hasUnreadNews Lnet/minecraft/client/realms/gui/RealmsDataFetcher;hasUnreadNews:Z
    • serverListScheduledFuture

      private ScheduledFuture<?> serverListScheduledFuture
      Mappings:
      Namespace Name Mixin selector
      official s Ldun;s:Ljava/util/concurrent/ScheduledFuture;
      intermediary field_19654 Lnet/minecraft/class_4360;field_19654:Ljava/util/concurrent/ScheduledFuture;
      named serverListScheduledFuture Lnet/minecraft/client/realms/gui/RealmsDataFetcher;serverListScheduledFuture:Ljava/util/concurrent/ScheduledFuture;
    • pendingInviteScheduledFuture

      private ScheduledFuture<?> pendingInviteScheduledFuture
      Mappings:
      Namespace Name Mixin selector
      official t Ldun;t:Ljava/util/concurrent/ScheduledFuture;
      intermediary field_19655 Lnet/minecraft/class_4360;field_19655:Ljava/util/concurrent/ScheduledFuture;
      named pendingInviteScheduledFuture Lnet/minecraft/client/realms/gui/RealmsDataFetcher;pendingInviteScheduledFuture:Ljava/util/concurrent/ScheduledFuture;
    • trialAvailableScheduledFuture

      private ScheduledFuture<?> trialAvailableScheduledFuture
      Mappings:
      Namespace Name Mixin selector
      official u Ldun;u:Ljava/util/concurrent/ScheduledFuture;
      intermediary field_19656 Lnet/minecraft/class_4360;field_19656:Ljava/util/concurrent/ScheduledFuture;
      named trialAvailableScheduledFuture Lnet/minecraft/client/realms/gui/RealmsDataFetcher;trialAvailableScheduledFuture:Ljava/util/concurrent/ScheduledFuture;
    • liveStatsScheduledFuture

      private ScheduledFuture<?> liveStatsScheduledFuture
      Mappings:
      Namespace Name Mixin selector
      official v Ldun;v:Ljava/util/concurrent/ScheduledFuture;
      intermediary field_19657 Lnet/minecraft/class_4360;field_19657:Ljava/util/concurrent/ScheduledFuture;
      named liveStatsScheduledFuture Lnet/minecraft/client/realms/gui/RealmsDataFetcher;liveStatsScheduledFuture:Ljava/util/concurrent/ScheduledFuture;
    • unreadNewsScheduledFuture

      private ScheduledFuture<?> unreadNewsScheduledFuture
      Mappings:
      Namespace Name Mixin selector
      official w Ldun;w:Ljava/util/concurrent/ScheduledFuture;
      intermediary field_19658 Lnet/minecraft/class_4360;field_19658:Ljava/util/concurrent/ScheduledFuture;
      named unreadNewsScheduledFuture Lnet/minecraft/client/realms/gui/RealmsDataFetcher;unreadNewsScheduledFuture:Ljava/util/concurrent/ScheduledFuture;
    • fetchStatus

      private final Map<RealmsDataFetcher.Task,Boolean> fetchStatus
      Mappings:
      Namespace Name Mixin selector
      official x Ldun;x:Ljava/util/Map;
      intermediary field_19659 Lnet/minecraft/class_4360;field_19659:Ljava/util/Map;
      named fetchStatus Lnet/minecraft/client/realms/gui/RealmsDataFetcher;fetchStatus:Ljava/util/Map;
  • Constructor Details

    • RealmsDataFetcher

      public RealmsDataFetcher(MinecraftClient client, RealmsClient realms)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldun;<init>(Ldxo;Ldsy;)V
      intermediary <init> Lnet/minecraft/class_4360;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_4341;)V
      named <init> Lnet/minecraft/client/realms/gui/RealmsDataFetcher;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/realms/RealmsClient;)V
    • RealmsDataFetcher

      protected RealmsDataFetcher(MinecraftClient client, RealmsClient realms, RealmsPersistence persistence)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldun;<init>(Ldxo;Ldsy;Ldwa;)V
      intermediary <init> Lnet/minecraft/class_4360;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_4341;Lnet/minecraft/class_4432;)V
      named <init> Lnet/minecraft/client/realms/gui/RealmsDataFetcher;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/realms/RealmsClient;Lnet/minecraft/client/realms/util/RealmsPersistence;)V
  • Method Details

    • isStopped

      public boolean isStopped()
      Mappings:
      Namespace Name Mixin selector
      official a Ldun;a()Z
      intermediary method_21073 Lnet/minecraft/class_4360;method_21073()Z
      named isStopped Lnet/minecraft/client/realms/gui/RealmsDataFetcher;isStopped()Z
    • init

      public void init()
      Mappings:
      Namespace Name Mixin selector
      official b Ldun;b()V
      intermediary method_21083 Lnet/minecraft/class_4360;method_21083()V
      named init Lnet/minecraft/client/realms/gui/RealmsDataFetcher;init()V
    • initWithSpecificTaskList

      public void initWithSpecificTaskList()
      Mappings:
      Namespace Name Mixin selector
      official c Ldun;c()V
      intermediary method_21082 Lnet/minecraft/class_4360;method_21082()V
      named initWithSpecificTaskList Lnet/minecraft/client/realms/gui/RealmsDataFetcher;initWithSpecificTaskList()V
    • isFetchedSinceLastTry

      public boolean isFetchedSinceLastTry(RealmsDataFetcher.Task task)
      Mappings:
      Namespace Name Mixin selector
      official a Ldun;a(Ldun$a;)Z
      intermediary method_21075 Lnet/minecraft/class_4360;method_21075(Lnet/minecraft/class_4360$class_4364;)Z
      named isFetchedSinceLastTry Lnet/minecraft/client/realms/gui/RealmsDataFetcher;isFetchedSinceLastTry(Lnet/minecraft/client/realms/gui/RealmsDataFetcher$Task;)Z
    • markClean

      public void markClean()
      Mappings:
      Namespace Name Mixin selector
      official d Ldun;d()V
      intermediary method_21088 Lnet/minecraft/class_4360;method_21088()V
      named markClean Lnet/minecraft/client/realms/gui/RealmsDataFetcher;markClean()V
    • forceUpdate

      public void forceUpdate()
      Mappings:
      Namespace Name Mixin selector
      official e Ldun;e()V
      intermediary method_21090 Lnet/minecraft/class_4360;method_21090()V
      named forceUpdate Lnet/minecraft/client/realms/gui/RealmsDataFetcher;forceUpdate()V
    • getServers

      public List<RealmsServer> getServers()
      Mappings:
      Namespace Name Mixin selector
      official f Ldun;f()Ljava/util/List;
      intermediary method_21091 Lnet/minecraft/class_4360;method_21091()Ljava/util/List;
      named getServers Lnet/minecraft/client/realms/gui/RealmsDataFetcher;getServers()Ljava/util/List;
    • getPendingInvitesCount

      public int getPendingInvitesCount()
      Mappings:
      Namespace Name Mixin selector
      official g Ldun;g()I
      intermediary method_21092 Lnet/minecraft/class_4360;method_21092()I
      named getPendingInvitesCount Lnet/minecraft/client/realms/gui/RealmsDataFetcher;getPendingInvitesCount()I
    • isTrialAvailable

      public boolean isTrialAvailable()
      Mappings:
      Namespace Name Mixin selector
      official h Ldun;h()Z
      intermediary method_21093 Lnet/minecraft/class_4360;method_21093()Z
      named isTrialAvailable Lnet/minecraft/client/realms/gui/RealmsDataFetcher;isTrialAvailable()Z
    • getLivestats

      public RealmsServerPlayerLists getLivestats()
      Mappings:
      Namespace Name Mixin selector
      official i Ldun;i()Ldtt;
      intermediary method_21094 Lnet/minecraft/class_4360;method_21094()Lnet/minecraft/class_4882;
      named getLivestats Lnet/minecraft/client/realms/gui/RealmsDataFetcher;getLivestats()Lnet/minecraft/client/realms/dto/RealmsServerPlayerLists;
    • hasUnreadNews

      public boolean hasUnreadNews()
      Mappings:
      Namespace Name Mixin selector
      official j Ldun;j()Z
      intermediary method_21095 Lnet/minecraft/class_4360;method_21095()Z
      named hasUnreadNews Lnet/minecraft/client/realms/gui/RealmsDataFetcher;hasUnreadNews()Z
    • newsLink

      public String newsLink()
      Mappings:
      Namespace Name Mixin selector
      official k Ldun;k()Ljava/lang/String;
      intermediary method_21096 Lnet/minecraft/class_4360;method_21096()Ljava/lang/String;
      named newsLink Lnet/minecraft/client/realms/gui/RealmsDataFetcher;newsLink()Ljava/lang/String;
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official l Ldun;l()V
      intermediary method_21097 Lnet/minecraft/class_4360;method_21097()V
      named stop Lnet/minecraft/client/realms/gui/RealmsDataFetcher;stop()V
    • scheduleTasks

      private void scheduleTasks()
      Mappings:
      Namespace Name Mixin selector
      official m Ldun;m()V
      intermediary method_21099 Lnet/minecraft/class_4360;method_21099()V
      named scheduleTasks Lnet/minecraft/client/realms/gui/RealmsDataFetcher;scheduleTasks()V
    • cancelTasks

      private void cancelTasks()
      Mappings:
      Namespace Name Mixin selector
      official n Ldun;n()V
      intermediary method_21100 Lnet/minecraft/class_4360;method_21100()V
      named cancelTasks Lnet/minecraft/client/realms/gui/RealmsDataFetcher;cancelTasks()V
    • setServers

      private void setServers(List<RealmsServer> newServers)
      Mappings:
      Namespace Name Mixin selector
      official a Ldun;a(Ljava/util/List;)V
      intermediary method_21087 Lnet/minecraft/class_4360;method_21087(Ljava/util/List;)V
      named setServers Lnet/minecraft/client/realms/gui/RealmsDataFetcher;setServers(Ljava/util/List;)V
    • removeItem

      public void removeItem(RealmsServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Ldun;a(Ldto;)V
      intermediary method_21074 Lnet/minecraft/class_4360;method_21074(Lnet/minecraft/class_4877;)V
      named removeItem Lnet/minecraft/client/realms/gui/RealmsDataFetcher;removeItem(Lnet/minecraft/client/realms/dto/RealmsServer;)V
    • isActive

      private boolean isActive()
      Mappings:
      Namespace Name Mixin selector
      official o Ldun;o()Z
      intermediary method_21101 Lnet/minecraft/class_4360;method_21101()Z
      named isActive Lnet/minecraft/client/realms/gui/RealmsDataFetcher;isActive()Z
    • updateServerList

      private void updateServerList()
      Mappings:
      Namespace Name Mixin selector
      official p Ldun;p()V
      intermediary method_33412 Lnet/minecraft/class_4360;method_33412()V
      named updateServerList Lnet/minecraft/client/realms/gui/RealmsDataFetcher;updateServerList()V
    • updatePendingInvites

      private void updatePendingInvites()
      Mappings:
      Namespace Name Mixin selector
      official q Ldun;q()V
      intermediary method_33413 Lnet/minecraft/class_4360;method_33413()V
      named updatePendingInvites Lnet/minecraft/client/realms/gui/RealmsDataFetcher;updatePendingInvites()V
    • updateTrialAvailability

      private void updateTrialAvailability()
      Mappings:
      Namespace Name Mixin selector
      official r Ldun;r()V
      intermediary method_33414 Lnet/minecraft/class_4360;method_33414()V
      named updateTrialAvailability Lnet/minecraft/client/realms/gui/RealmsDataFetcher;updateTrialAvailability()V
    • updateLiveStats

      private void updateLiveStats()
      Mappings:
      Namespace Name Mixin selector
      official s Ldun;s()V
      intermediary method_33415 Lnet/minecraft/class_4360;method_33415()V
      named updateLiveStats Lnet/minecraft/client/realms/gui/RealmsDataFetcher;updateLiveStats()V
    • updateNews

      private void updateNews()
      Mappings:
      Namespace Name Mixin selector
      official t Ldun;t()V
      intermediary method_33416 Lnet/minecraft/class_4360;method_33416()V
      named updateNews Lnet/minecraft/client/realms/gui/RealmsDataFetcher;updateNews()V
    • fetchNews

      Mappings:
      Namespace Name Mixin selector
      official u Ldun;u()Ldwa$a;
      intermediary method_33417 Lnet/minecraft/class_4360;method_33417()Lnet/minecraft/class_4432$class_4433;
      named fetchNews Lnet/minecraft/client/realms/gui/RealmsDataFetcher;fetchNews()Lnet/minecraft/client/realms/util/RealmsPersistence$RealmsPersistenceData;