Package org.spongepowered.api.scheduler
Interface ScheduledUpdate<T>
- All Superinterfaces:
- Locatable
Represents a scheduled block update. SBUs with higher priorities are
 processed first.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier 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 org.spongepowered.api.world.LocatableblockPosition, location, serverLocation, world
- 
Method Details- 
targetT target()Gets the target of this scheduled update.- Returns:
- The target
 
- 
delayDuration delay()Gets thedelayuntil this update should cause the block to update.- Returns:
- The delay until this SBU should cause the block to update
 
- 
priorityTaskPriority priority()Gets the priority of this scheduled block update.- Returns:
- The priority of this scheduled block update
 
- 
stateScheduledUpdate.State state()Gets theScheduledUpdate.Stateof this scheduled update.- Returns:
- The state
 
- 
cancelboolean cancel()Cancels this scheduled update.- Returns:
- Returns if the scheduled update was successfully cancelled
 
 
-