Interface Delay
- All Superinterfaces:
DataSerializable
Setting the command execution delay.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Delay.Builder
builder()
Rules for canceling the execution of a command.long
Time in seconds until the command is executed.static Delay
of
(long seconds, CancelRules rules) static Delay.Builder
Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
-
Method Details
-
builder
-
unregisteredBuilder
-
of
-
getSeconds
long getSeconds()Time in seconds until the command is executed. -
getCancelRules
CancelRules getCancelRules()Rules for canceling the execution of a command.
-