Interface CancelRules
- All Superinterfaces:
DataSerializable
Rules for cancelling command code execution when using delayed execution.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CancelRules.Builderbuilder()booleanWhether the player is allowed to move while waiting for a command to be executed.booleanWhether the player is allowed to use other commands while waiting for the current command to execute.static CancelRulesof(boolean allowMoving, boolean allowOtherCommand) static CancelRules.BuilderMethods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
-
Method Details
-
builder
-
unregisteredBuilder
-
of
-
isAllowMoving
boolean isAllowMoving()Whether the player is allowed to move while waiting for a command to be executed. -
isAllowOtherCommand
boolean isAllowOtherCommand()Whether the player is allowed to use other commands while waiting for the current command to execute.
-