Interface CancelRules

All Superinterfaces:
DataSerializable

public interface CancelRules extends DataSerializable
Rules for cancelling command code execution when using delayed execution.
  • Method Details

    • builder

      static CancelRules.Builder builder()
    • unregisteredBuilder

      static CancelRules.Builder unregisteredBuilder()
    • of

      static CancelRules of(boolean allowMoving, boolean allowOtherCommand)
    • 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.