Uses of Interface
net.minecraft.commands.CommandResultCallback
Packages that use CommandResultCallback
Package
Description
-
Uses of CommandResultCallback in net.minecraft.commands
Fields in net.minecraft.commands declared as CommandResultCallbackModifier and TypeFieldDescriptionstatic final CommandResultCallback
CommandResultCallback.EMPTY
private final CommandResultCallback
CommandSourceStack.resultCallback
Methods in net.minecraft.commands that return CommandResultCallbackModifier and TypeMethodDescriptionCommandSourceStack.callback()
ExecutionCommandSource.callback()
static CommandResultCallback
CommandResultCallback.chain
(CommandResultCallback p_312991_, CommandResultCallback p_310583_) Methods in net.minecraft.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionstatic CommandResultCallback
CommandResultCallback.chain
(CommandResultCallback p_312991_, CommandResultCallback p_310583_) CommandSourceStack.withCallback
(CommandResultCallback p_310737_) CommandSourceStack.withCallback
(CommandResultCallback p_311586_, BinaryOperator<CommandResultCallback> p_81338_) ExecutionCommandSource.withCallback
(CommandResultCallback p_311254_) Method parameters in net.minecraft.commands with type arguments of type CommandResultCallbackModifier and TypeMethodDescriptionCommandSourceStack.withCallback
(CommandResultCallback p_311586_, BinaryOperator<CommandResultCallback> p_81338_) Constructors in net.minecraft.commands with parameters of type CommandResultCallbackModifierConstructorDescriptionprotected
CommandSourceStack
(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_310300_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
Uses of CommandResultCallback in net.minecraft.commands.execution
Fields in net.minecraft.commands.execution declared as CommandResultCallbackModifier and TypeFieldDescriptionprivate final CommandResultCallback
Frame.returnValueConsumer
The field for thereturnValueConsumer
record component.Methods in net.minecraft.commands.execution that return CommandResultCallbackModifier and TypeMethodDescriptionFrame.returnValueConsumer()
Returns the value of thereturnValueConsumer
record component.Methods in net.minecraft.commands.execution with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
FrameExecutionContext.createTopFrame
(ExecutionContext<T> p_310887_, CommandResultCallback p_311060_) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialCommandExecution
(ExecutionContext<T> p_311278_, String p_310967_, com.mojang.brigadier.context.ContextChain<T> p_311656_, T p_312145_, CommandResultCallback p_309674_) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialFunctionCall
(ExecutionContext<T> p_311344_, InstantiatedFunction<T> p_309533_, T p_310187_, CommandResultCallback p_310874_) Constructors in net.minecraft.commands.execution with parameters of type CommandResultCallbackModifierConstructorDescriptionFrame
(int depth, CommandResultCallback returnValueConsumer, Frame.FrameControl frameControl) Creates an instance of aFrame
record class. -
Uses of CommandResultCallback in net.minecraft.commands.execution.tasks
Fields in net.minecraft.commands.execution.tasks declared as CommandResultCallbackModifier and TypeFieldDescriptionprivate final CommandResultCallback
IsolatedCall.output
private final CommandResultCallback
CallFunction.resultCallback
Constructors in net.minecraft.commands.execution.tasks with parameters of type CommandResultCallbackModifierConstructorDescriptionCallFunction
(InstantiatedFunction<T> p_311175_, CommandResultCallback p_310950_, boolean p_309425_) IsolatedCall
(Consumer<ExecutionControl<T>> p_309522_, CommandResultCallback p_309763_) -
Uses of CommandResultCallback in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return CommandResultCallbackModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T p_309693_, FunctionCommand.Callbacks<T> p_309991_, ResourceLocation p_312510_, CommandResultCallback p_312314_) Methods in net.minecraft.server.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T p_309693_, FunctionCommand.Callbacks<T> p_309991_, ResourceLocation p_312510_, CommandResultCallback p_312314_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag p_312138_, ExecutionControl<T> p_309532_, com.mojang.brigadier.CommandDispatcher<T> p_312204_, T p_311370_, CommandFunction<T> p_310160_, ResourceLocation p_311048_, CommandResultCallback p_312950_, boolean p_312453_)