Package net.minecraft.client.realms.gui
Class RealmsDataFetcher
java.lang.Object
net.minecraft.client.realms.gui.RealmsDataFetcher
@Environment(CLIENT) public class RealmsDataFetcher extends Object
- Mappings:
Namespace Name official dnq
intermediary net/minecraft/class_4360
named net/minecraft/client/realms/gui/RealmsDataFetcher
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RealmsDataFetcher.Task
-
Field Summary
Fields Modifier and Type Field Description private MinecraftClient
client
private Map<RealmsDataFetcher.Task,Boolean>
fetchStatus
private boolean
hasUnreadNews
private RealmsServerPlayerLists
livestats
private ScheduledFuture<?>
liveStatsScheduledFuture
private FetchTask
liveStatsTask
private static Logger
LOGGER
private String
newsLink
private ScheduledFuture<?>
pendingInviteScheduledFuture
private int
pendingInvitesCount
private FetchTask
pendingInviteUpdateTask
private RealmsPersistence
persistence
private RealmsClient
realms
private Set<RealmsServer>
removedServers
private ScheduledExecutorService
scheduler
private ScheduledFuture<?>
serverListScheduledFuture
private FetchTask
serverListUpdateTask
private List<RealmsServer>
servers
private boolean
stopped
private FetchTask
trialAvailabilityTask
private boolean
trialAvailable
private ScheduledFuture<?>
trialAvailableScheduledFuture
private ScheduledFuture<?>
unreadNewsScheduledFuture
private FetchTask
unreadNewsTask
-
Constructor Summary
Constructors Constructor Description RealmsDataFetcher(MinecraftClient client, RealmsClient realms)
-
Method Summary
Modifier and Type Method Description private void
cancelTasks()
void
forceUpdate()
RealmsServerPlayerLists
getLivestats()
int
getPendingInvitesCount()
List<RealmsServer>
getServers()
boolean
hasUnreadNews()
void
init()
void
initWithSpecificTaskList()
private boolean
isActive()
boolean
isFetchedSinceLastTry(RealmsDataFetcher.Task task)
boolean
isStopped()
boolean
isTrialAvailable()
void
markClean()
private RealmsPersistence.RealmsPersistenceData
method_33417()
String
newsLink()
void
removeItem(RealmsServer server)
private void
scheduleTasks()
private void
setServers(List<RealmsServer> newServers)
void
stop()
private void
updateLiveStats()
private void
updateNews()
private void
updatePendingInvites()
private void
updateServerList()
private void
updateTrialAvailability()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldnq;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
- Mappings:
Namespace Name Mixin selector official b
Ldnq;b:Ldqk;
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
- Mappings:
Namespace Name Mixin selector official c
Ldnq;c:Ldmg;
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
- Mappings:
Namespace Name Mixin selector official d
Ldnq;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
Ldnq;e:Z
intermediary field_19641
Lnet/minecraft/class_4360;field_19641:Z
named stopped
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;stopped:Z
-
serverListUpdateTask
- Mappings:
Namespace Name Mixin selector official f
Ldnq;f:Ldov;
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
- Mappings:
Namespace Name Mixin selector official g
Ldnq;g:Ldov;
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
- Mappings:
Namespace Name Mixin selector official h
Ldnq;h:Ldov;
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
- Mappings:
Namespace Name Mixin selector official i
Ldnq;i:Ldov;
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
- Mappings:
Namespace Name Mixin selector official j
Ldnq;j:Ldov;
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
- Mappings:
Namespace Name Mixin selector official k
Ldnq;k:Ldoz;
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
- Mappings:
Namespace Name Mixin selector official l
Ldnq;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
- Mappings:
Namespace Name Mixin selector official m
Ldnq;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
- Mappings:
Namespace Name Mixin selector official n
Ldnq;n:Ldna;
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
Ldnq;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
Ldnq;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
Ldnq;q:Z
intermediary field_19652
Lnet/minecraft/class_4360;field_19652:Z
named hasUnreadNews
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;hasUnreadNews:Z
-
newsLink
- Mappings:
Namespace Name Mixin selector official r
Ldnq;r:Ljava/lang/String;
intermediary field_19653
Lnet/minecraft/class_4360;field_19653:Ljava/lang/String;
named newsLink
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;newsLink:Ljava/lang/String;
-
serverListScheduledFuture
- Mappings:
Namespace Name Mixin selector official s
Ldnq;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
- Mappings:
Namespace Name Mixin selector official t
Ldnq;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
- Mappings:
Namespace Name Mixin selector official u
Ldnq;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
- Mappings:
Namespace Name Mixin selector official v
Ldnq;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
- Mappings:
Namespace Name Mixin selector official w
Ldnq;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
- Mappings:
Namespace Name Mixin selector official x
Ldnq;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
- Mappings:
Namespace Name Mixin selector official <init>
Ldnq;<init>(Ldqk;Ldmg;)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
-
-
Method Details
-
isStopped
public boolean isStopped()- Mappings:
Namespace Name Mixin selector official a
Ldnq;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
Ldnq;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
Ldnq;c()V
intermediary method_21082
Lnet/minecraft/class_4360;method_21082()V
named initWithSpecificTaskList
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;initWithSpecificTaskList()V
-
isFetchedSinceLastTry
- Mappings:
Namespace Name Mixin selector official a
Ldnq;a(Ldnq$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
Ldnq;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
Ldnq;e()V
intermediary method_21090
Lnet/minecraft/class_4360;method_21090()V
named forceUpdate
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;forceUpdate()V
-
getServers
- Mappings:
Namespace Name Mixin selector official f
Ldnq;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
Ldnq;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
Ldnq;h()Z
intermediary method_21093
Lnet/minecraft/class_4360;method_21093()Z
named isTrialAvailable
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;isTrialAvailable()Z
-
getLivestats
- Mappings:
Namespace Name Mixin selector official i
Ldnq;i()Ldna;
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
Ldnq;j()Z
intermediary method_21095
Lnet/minecraft/class_4360;method_21095()Z
named hasUnreadNews
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;hasUnreadNews()Z
-
newsLink
- Mappings:
Namespace Name Mixin selector official k
Ldnq;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
Ldnq;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
Ldnq;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
Ldnq;n()V
intermediary method_21100
Lnet/minecraft/class_4360;method_21100()V
named cancelTasks
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;cancelTasks()V
-
setServers
- Mappings:
Namespace Name Mixin selector official a
Ldnq;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
- Mappings:
Namespace Name Mixin selector official a
Ldnq;a(Ldmv;)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
Ldnq;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
Ldnq;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
Ldnq;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
Ldnq;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
Ldnq;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
Ldnq;t()V
intermediary method_33416
Lnet/minecraft/class_4360;method_33416()V
named updateNews
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;updateNews()V
-
method_33417
- Mappings:
Namespace Name Mixin selector official u
Ldnq;u()Ldoz$a;
intermediary method_33417
Lnet/minecraft/class_4360;method_33417()Lnet/minecraft/class_4432$class_4433;
named method_33417
Lnet/minecraft/client/realms/gui/RealmsDataFetcher;method_33417()Lnet/minecraft/client/realms/util/RealmsPersistence$RealmsPersistenceData;
-