类 CustomCommandExecutor.WithErrorHandling<T extends ExecutionCommandSource<T>>

java.lang.Object
net.minecraft.commands.execution.CustomCommandExecutor.WithErrorHandling<T>
所有已实现的接口:
CustomCommandExecutor<T>
直接已知子类:
DebugCommand.TraceCustomExecutor, FunctionCommand.FunctionCustomExecutor
封闭接口:
CustomCommandExecutor<T>

public abstract static class CustomCommandExecutor.WithErrorHandling<T extends ExecutionCommandSource<T>> extends Object implements CustomCommandExecutor<T>
  • 构造器详细资料

    • WithErrorHandling

      public WithErrorHandling()
  • 方法详细资料

    • run

      public final void run(T p_306339_, com.mojang.brigadier.context.ContextChain<T> p_306289_, ChainModifiers p_309578_, ExecutionControl<T> p_306027_)
      指定者:
      run 在接口中 CustomCommandExecutor<T extends ExecutionCommandSource<T>>
    • onError

      protected void onError(com.mojang.brigadier.exceptions.CommandSyntaxException p_306165_, T p_306155_, ChainModifiers p_309597_, @Nullable TraceCallbacks p_307254_)
    • runGuarded

      protected abstract void runGuarded(T p_306117_, com.mojang.brigadier.context.ContextChain<T> p_306121_, ChainModifiers p_309631_, ExecutionControl<T> p_305981_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException