Interface CommandErrorHandler

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

@FunctionalInterface public interface CommandErrorHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Map<com.mojang.brigadier.tree.CommandNode<CommandContext>, com.mojang.brigadier.exceptions.CommandSyntaxException> exceptions, CommandContext context)
     
  • Method Details

    • handle

      void handle(Map<com.mojang.brigadier.tree.CommandNode<CommandContext>, com.mojang.brigadier.exceptions.CommandSyntaxException> exceptions, CommandContext context)