Package net.actor.ticking
Klasse ClientTickBus
java.lang.Object
net.actor.ticking.ClientTickBus
- Alle implementierten Schnittstellen:
IClientTickBus
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic IClientTickBusstatic IClientTickerinit()voidAdds a ClientTick listenervoidremoveTick(Runnable task) Removes a ClientTick listenervoidremoveWaitable(IWaitableTask task) Remove a task that can wait for ticksvoidsubmitWaitable(IWaitableTask task) Submit a task that can wait for ticks
-
Methodendetails
-
getInstance
-
onTick
Beschreibung aus Schnittstelle kopiert:IClientTickBusAdds a ClientTick listener- Angegeben von:
onTickin SchnittstelleIClientTickBus- Parameter:
task- TheRunnablethat should be executed on ClientTick event
-
removeTick
Beschreibung aus Schnittstelle kopiert:IClientTickBusRemoves a ClientTick listener- Angegeben von:
removeTickin SchnittstelleIClientTickBus- Parameter:
task- TheRunnablethat should be removed from the listeners
-
submitWaitable
Beschreibung aus Schnittstelle kopiert:IClientTickBusSubmit a task that can wait for ticks- Angegeben von:
submitWaitablein SchnittstelleIClientTickBus- Parameter:
task- The task
-
removeWaitable
Beschreibung aus Schnittstelle kopiert:IClientTickBusRemove a task that can wait for ticks- Angegeben von:
removeWaitablein SchnittstelleIClientTickBus- Parameter:
task- The task
-
init
-