接口 ExecuteCommand.Condition

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

    @FunctionalInterface
    static interface ExecuteCommand.Condition
    Mappings:
    Namespace Name
    official yb$b
    intermediary net/minecraft/class_3050$class_3052
    named net/minecraft/server/command/ExecuteCommand$Condition
    • 方法详细资料

      • test

        boolean test​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
              throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official test Lyb$b;test(Lcom/mojang/brigadier/context/CommandContext;)Z
        intermediary test Lnet/minecraft/class_3050$class_3052;test(Lcom/mojang/brigadier/context/CommandContext;)Z
        named test Lnet/minecraft/server/command/ExecuteCommand$Condition;test(Lcom/mojang/brigadier/context/CommandContext;)Z