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 first, CommandResultCallback second) Methods in net.minecraft.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionstatic CommandResultCallback
CommandResultCallback.chain
(CommandResultCallback first, CommandResultCallback second) CommandSourceStack.withCallback
(CommandResultCallback callback) CommandSourceStack.withCallback
(CommandResultCallback callback, BinaryOperator<CommandResultCallback> operator) ExecutionCommandSource.withCallback
(CommandResultCallback callback) Method parameters in net.minecraft.commands with type arguments of type CommandResultCallbackModifier and TypeMethodDescriptionCommandSourceStack.withCallback
(CommandResultCallback callback, BinaryOperator<CommandResultCallback> operator) Constructors in net.minecraft.commands with parameters of type CommandResultCallbackModifierConstructorDescriptionprotected
CommandSourceStack
(CommandSource source, Vec3 worldPosition, Vec2 rotation, ServerLevel level, int permissionLevel, String textName, Component displayName, MinecraftServer server, Entity entity, boolean silent, CommandResultCallback resultCallback, EntityAnchorArgument.Anchor anchor, CommandSigningContext signingContext, TaskChainer chatMessageChainer) -
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> executionContext, CommandResultCallback returnValueConsumer) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialCommandExecution
(ExecutionContext<T> executionContext, String commandInput, com.mojang.brigadier.context.ContextChain<T> command, T source, CommandResultCallback returnValueConsumer) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialFunctionCall
(ExecutionContext<T> executionContext, InstantiatedFunction<T> function, T source, CommandResultCallback returnValueConsumer) 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> function, CommandResultCallback resultCallback, boolean returnParentFrame) IsolatedCall
(Consumer<ExecutionControl<T>> taskProducer, CommandResultCallback output) -
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 source, FunctionCommand.Callbacks<T> callbacks, ResourceLocation function, CommandResultCallback resultCallback) Methods in net.minecraft.server.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T source, FunctionCommand.Callbacks<T> callbacks, ResourceLocation function, CommandResultCallback resultCallback) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag arguments, ExecutionControl<T> executionControl, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, ResourceLocation functionId, CommandResultCallback resultCallback, boolean returnParentFrame)