net.minecraft.client

public class PeriodicNotificationManager

extends SimplePreparableReloadListener<Map<String, List<PeriodicNotificationManager$Notification>>> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

flp
net.minecraft.client.PeriodicNotificationManager
net.minecraft.class_6877
net.minecraft.client.resource.PeriodicNotificationManager

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<Map<String, List<PeriodicNotificationManager$Notification>>>
a
CODEC
field_36435
CODEC
private static final org.slf4j.Logger
b
LOGGER
field_36436
LOGGER
private final ResourceLocation
c
notifications
field_36437
id
private final it.unimi.dsi.fastutil.objects.Object2BooleanFunction<String>
d
selector
field_36438
countryPredicate
private Timer
e
timer
field_36439
timer
private PeriodicNotificationManager$NotificationTask
f
notificationTask
field_36440
task

Constructor summary

ModifierConstructor
public (ResourceLocation id, it.unimi.dsi.fastutil.objects.Object2BooleanFunction<String> countryPredicate)

Method summary

Modifier and TypeMethod
protected Map<String, List<PeriodicNotificationManager$Notification>>
a(aup arg0, bou arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_40192(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
protected void
a(Map<String, List<flp$a>> arg0, aup arg1, bou arg2)
apply(Map<String, List<PeriodicNotificationManager$Notification>> arg0, ResourceManager arg1, ProfilerFiller arg2)
method_40198(Map<String, List<class_6877$class_6878>> arg0, class_3300 arg1, class_3695 arg2)
apply(Map<String, List<PeriodicNotificationManager$Entry>> arg0, ResourceManager arg1, Profiler arg2)
public void
close()
close()
private void
a()
stopTimer()
method_40190()
cancelTimer()
private long
a(List<flp$a> arg0, long arg1)
calculateOptimalPeriod(List<PeriodicNotificationManager$Notification> arg0, long arg1)
method_40196(List<class_6877$class_6878> arg0, long arg1)
getPeriod(List<PeriodicNotificationManager$Entry> entries, long minDelay)
private long
a(List<flp$a> arg0)
calculateInitialDelay(List<PeriodicNotificationManager$Notification> arg0)
method_40195(List<class_6877$class_6878> arg0)
getMinDelay(List<PeriodicNotificationManager$Entry> entries)