Interface ExecuteCommand.Condition

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.Condition
Mappings:
Namespace Name
official xn$b
intermediary net/minecraft/class_3050$class_3052
named net/minecraft/server/command/ExecuteCommand$Condition
  • Method Summary

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

    • test

      boolean test​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official test Lxn$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