接口 ExecuteCommand.CommandPredicate

封闭类:
ExecuteCommand
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface static interface ExecuteCommand.CommandPredicate
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    test(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137303_)
     
  • 方法详细资料

    • test

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