类 FunctionCommand.FunctionCustomExecutor
java.lang.Object
net.minecraft.commands.execution.CustomCommandExecutor.WithErrorHandling<CommandSourceStack>
net.minecraft.server.commands.FunctionCommand.FunctionCustomExecutor
- 所有已实现的接口:
com.mojang.brigadier.Command<CommandSourceStack>
,CustomCommandExecutor<CommandSourceStack>
,CustomCommandExecutor.CommandAdapter<CommandSourceStack>
- 封闭类:
FunctionCommand
abstract static class FunctionCommand.FunctionCustomExecutor
extends CustomCommandExecutor.WithErrorHandling<CommandSourceStack>
implements CustomCommandExecutor.CommandAdapter<CommandSourceStack>
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.commands.execution.CustomCommandExecutor
CustomCommandExecutor.CommandAdapter<T>, CustomCommandExecutor.WithErrorHandling<T extends ExecutionCommandSource<T>>
-
字段概要
从接口继承的字段 com.mojang.brigadier.Command
SINGLE_SUCCESS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract CompoundTag
arguments
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_311128_) void
runGuarded
(CommandSourceStack p_310423_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_311781_, ChainModifiers p_313209_, ExecutionControl<CommandSourceStack> p_312609_) 从类继承的方法 net.minecraft.commands.execution.CustomCommandExecutor.WithErrorHandling
onError, run
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.commands.execution.CustomCommandExecutor
run
从接口继承的方法 net.minecraft.commands.execution.CustomCommandExecutor.CommandAdapter
run
-
构造器详细资料
-
FunctionCustomExecutor
FunctionCustomExecutor()
-
-
方法详细资料
-
arguments
@Nullable protected abstract CompoundTag arguments(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_311128_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
runGuarded
public void runGuarded(CommandSourceStack p_310423_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_311781_, ChainModifiers p_313209_, ExecutionControl<CommandSourceStack> p_312609_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 指定者:
runGuarded
在类中CustomCommandExecutor.WithErrorHandling<CommandSourceStack>
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-