UnboundEntryAction.java
net.minecraft.commands.execution.UnboundEntryAction
信息
- 全限定名:net.minecraft.commands.execution.UnboundEntryAction
- 类型:public interface
- 包:net.minecraft.commands.execution
- 源码路径:src/main/java/net/minecraft/commands/execution/UnboundEntryAction.java
- 起始行号:L4
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
- 无
构造器
- 无
方法
下面的方法块按源码顺序生成。
void execute(T sender, ExecutionContext<T> context, Frame frame) @ L5
- 方法名:execute
- 源码定位:L5
- 返回类型:void
- 修饰符:package-private
参数:
- sender: T
- context: ExecutionContext
- frame: Frame
说明:
TODO
default EntryAction<T> bind(T sender) @ L7
- 方法名:bind
- 源码定位:L7
- 返回类型:EntryAction
- 修饰符:default
参数:
- sender: T
说明:
TODO
代码
@FunctionalInterface
public interface UnboundEntryAction<T> {
void execute(T sender, ExecutionContext<T> context, Frame frame);
default EntryAction<T> bind(T sender) {
return (context, frame) -> this.execute(sender, context, frame);
}
}引用的其他类
-
- 引用位置:
返回值
- 引用位置:
-
- 引用位置:
参数
- 引用位置:
-
- 引用位置:
参数
- 引用位置: