public class ServerTickEndEvent extends Event
Event.Result
Constructor and Description |
---|
ServerTickEndEvent(int tickNumber,
double tickDuration,
long timeRemaining) |
Modifier and Type | Method and Description |
---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
double |
getTickDuration() |
int |
getTickNumber() |
long |
getTimeRemaining()
Amount of nanoseconds remaining before the next tick should start.
|
callEvent, getEventName, isAsynchronous
public ServerTickEndEvent(int tickNumber, double tickDuration, long timeRemaining)
public int getTickNumber()
public double getTickDuration()
public long getTimeRemaining()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.