CustomModifierExecutor.java
net.minecraft.commands.execution.CustomModifierExecutor
信息
- 全限定名:net.minecraft.commands.execution.CustomModifierExecutor
- 类型:public interface
- 包:net.minecraft.commands.execution
- 源码路径:src/main/java/net/minecraft/commands/execution/CustomModifierExecutor.java
- 起始行号:L10
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
net.minecraft.commands.execution.CustomModifierExecutor.ModifierAdapter- 类型:
interface - 修饰符:
public - 源码定位:
L13 - 说明:
TODO
- 类型:
构造器
- 无
方法
下面的方法块按源码顺序生成。
void apply(T originalSource, List<T> currentSources, ContextChain<T> currentStep, ChainModifiers modifiers, ExecutionControl<T> output) @ L11
- 方法名:apply
- 源码定位:L11
- 返回类型:void
- 修饰符:package-private
参数:
- originalSource: T
- currentSources: List
- currentStep: ContextChain
- modifiers: ChainModifiers
- output: ExecutionControl
说明:
TODO
代码
public interface CustomModifierExecutor<T> {
void apply(T originalSource, List<T> currentSources, ContextChain<T> currentStep, ChainModifiers modifiers, ExecutionControl<T> output);
public interface ModifierAdapter<T> extends CustomModifierExecutor<T>, RedirectModifier<T> {
@Override
default Collection<T> apply(CommandContext<T> context) throws CommandSyntaxException {
throw new UnsupportedOperationException("This function should not run");
}
}
}引用的其他类
-
- 引用位置:
参数
- 引用位置:
-
- 引用位置:
参数
- 引用位置: