net.minecraft.client

public class PeriodicNotificationManager

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

All mapped superinterfaces:

PreparableReloadListener

fgu
net.minecraft.client.PeriodicNotificationManager
net.minecraft.class_6877
net.minecraft.client.resource.PeriodicNotificationManager
net.minecraft.src.C_203225_

Field summary

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

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(aue arg0, bnf arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_40192(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_5944_(C_77_ p_205301_, C_442_ arg1)
protected void
a(Map<String, List<fgu$a>> arg0, aue arg1, bnf 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)
m_5787_(Map<String, List<C_203225_$C_203226_>> p_205319_, C_77_ p_205320_, C_442_ arg2)
public void
close()
close()
close()
private void
a()
stopTimer()
method_40190()
cancelTimer()
m_205295_()
private long
a(List<fgu$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)
m_205312_(List<C_203225_$C_203226_> p_205314_, long arg1)
private long
a(List<fgu$a> arg0)
calculateInitialDelay(List<PeriodicNotificationManager$Notification> arg0)
method_40195(List<class_6877$class_6878> arg0)
getMinDelay(List<PeriodicNotificationManager$Entry> entries)
m_205310_(List<C_203225_$C_203226_> arg0)