Interface ExecuteCommand.CommandPredicate

Enclosing class:
ExecuteCommand
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface static interface ExecuteCommand.CommandPredicate
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137303_)
     
  • Method Details

    • test

      boolean test(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137303_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException