Interface ScheduledUpdate<T>
- All Superinterfaces:
Locatable
Represents a scheduled block update. SBUs with higher priorities are
processed first.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleancancel()Cancels this scheduled update.delay()Gets thedelayuntil this update should cause the block to update.priority()Gets the priority of this scheduled block update.state()Gets theScheduledUpdate.Stateof this scheduled update.target()Gets the target of this scheduled update.Methods inherited from interface Locatable
blockPosition, location, serverLocation, world
-
Method Details
-
target
-
delay
-
priority
TaskPriority priority()Gets the priority of this scheduled block update.- Returns:
- The priority of this scheduled block update
-
state
ScheduledUpdate.State state()Gets theScheduledUpdate.Stateof this scheduled update.- Returns:
- The state
-
cancel
boolean cancel()Cancels this scheduled update.- Returns:
- Returns if the scheduled update was successfully cancelled
-