Package net.minecraft.client
Class PeriodicNotificationManager.NotificationTask
java.lang.Object
java.util.TimerTask
net.minecraft.client.PeriodicNotificationManager.NotificationTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
PeriodicNotificationManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicLong
private final Minecraft
private final List
<PeriodicNotificationManager.Notification> private final long
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationTask
(List<PeriodicNotificationManager.Notification> pNotifications, long pElapsed, long pPeriod) -
Method Summary
Modifier and TypeMethodDescriptionreset
(List<PeriodicNotificationManager.Notification> pNotifications, long pPeriod) void
run()
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
minecraft
-
notifications
-
period
private final long period -
elapsed
-
-
Constructor Details
-
NotificationTask
public NotificationTask(List<PeriodicNotificationManager.Notification> pNotifications, long pElapsed, long pPeriod)
-
-
Method Details
-
reset
public PeriodicNotificationManager.NotificationTask reset(List<PeriodicNotificationManager.Notification> pNotifications, long pPeriod) -
run
public void run()
-