TraceCallbacks.java

net.minecraft.commands.execution.TraceCallbacks

信息

  • 全限定名:net.minecraft.commands.execution.TraceCallbacks
  • 类型:public interface
  • 包:net.minecraft.commands.execution
  • 源码路径:src/main/java/net/minecraft/commands/execution/TraceCallbacks.java
  • 起始行号:L5
  • 继承:AutoCloseable
  • 职责:

    TODO

字段/常量

内部类/嵌套类型

构造器

方法

下面的方法块按源码顺序生成。

void onCommand(int depth, String command) @ L6

  • 方法名:onCommand
  • 源码定位:L6
  • 返回类型:void
  • 修饰符:package-private

参数:

  • depth: int
  • command: String

说明:

TODO

void onReturn(int depth, String command, int result) @ L8

  • 方法名:onReturn
  • 源码定位:L8
  • 返回类型:void
  • 修饰符:package-private

参数:

  • depth: int
  • command: String
  • result: int

说明:

TODO

void onError(String message) @ L10

  • 方法名:onError
  • 源码定位:L10
  • 返回类型:void
  • 修饰符:package-private

参数:

  • message: String

说明:

TODO

void onCall(int depth, Identifier function, int size) @ L12

  • 方法名:onCall
  • 源码定位:L12
  • 返回类型:void
  • 修饰符:package-private

参数:

  • depth: int
  • function: Identifier
  • size: int

说明:

TODO

void close() @ L14

  • 方法名:close
  • 源码定位:L14
  • 返回类型:void
  • 修饰符:package-private

参数:

说明:

TODO

代码

public interface TraceCallbacks extends AutoCloseable {
    void onCommand(int depth, String command);
 
    void onReturn(int depth, String command, int result);
 
    void onError(String message);
 
    void onCall(int depth, Identifier function, int size);
 
    @Override
    void close();
}

引用的其他类