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 CommandResultCallbackCommandResultCallback.EMPTYprivate final CommandResultCallbackCommandSourceStack.resultCallbackMethods in net.minecraft.commands that return CommandResultCallbackModifier and TypeMethodDescriptionCommandSourceStack.callback()ExecutionCommandSource.callback()static CommandResultCallbackCommandResultCallback.chain(CommandResultCallback first, CommandResultCallback second) Methods in net.minecraft.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionstatic CommandResultCallbackCommandResultCallback.chain(CommandResultCallback first, CommandResultCallback second) CommandSourceStack.withCallback(CommandResultCallback resultCallback) CommandSourceStack.withCallback(CommandResultCallback newCallback, BinaryOperator<CommandResultCallback> combiner) ExecutionCommandSource.withCallback(CommandResultCallback resultCallback) Method parameters in net.minecraft.commands with type arguments of type CommandResultCallbackModifier and TypeMethodDescriptionCommandSourceStack.withCallback(CommandResultCallback newCallback, BinaryOperator<CommandResultCallback> combiner) Constructors in net.minecraft.commands with parameters of type CommandResultCallbackModifierConstructorDescriptionprivateCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, ServerLevel level, PermissionSet permissions, String textName, Component displayName, MinecraftServer server, @Nullable 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 CommandResultCallbackFrame.returnValueConsumerThe field for thereturnValueConsumerrecord component.Methods in net.minecraft.commands.execution that return CommandResultCallbackModifier and TypeMethodDescriptionFrame.returnValueConsumer()Returns the value of thereturnValueConsumerrecord component.Methods in net.minecraft.commands.execution with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
FrameExecutionContext.createTopFrame(ExecutionContext<T> context, CommandResultCallback frameResult) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialCommandExecution(ExecutionContext<T> context, String command, com.mojang.brigadier.context.ContextChain<T> executionChain, T sender, CommandResultCallback commandReturn) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialFunctionCall(ExecutionContext<T> context, InstantiatedFunction<T> function, T sender, CommandResultCallback functionReturn) Constructors in net.minecraft.commands.execution with parameters of type CommandResultCallbackModifierConstructorDescriptionFrame(int depth, CommandResultCallback returnValueConsumer, Frame.FrameControl frameControl) Creates an instance of aFramerecord class. -
Uses of CommandResultCallback in net.minecraft.commands.execution.tasks
Fields in net.minecraft.commands.execution.tasks declared as CommandResultCallbackModifier and TypeFieldDescriptionprivate final CommandResultCallbackIsolatedCall.outputprivate final CommandResultCallbackCallFunction.resultCallbackConstructors in net.minecraft.commands.execution.tasks with parameters of type CommandResultCallbackModifierConstructorDescriptionCallFunction(InstantiatedFunction<T> function, CommandResultCallback resultCallback, boolean returnParentFrame) IsolatedCall(Consumer<ExecutionControl<T>> taskOutput, 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 originalSource, FunctionCommand.Callbacks<T> callbacks, Identifier id, CommandResultCallback callback) Methods in net.minecraft.server.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded(T originalSource, FunctionCommand.Callbacks<T> callbacks, Identifier id, CommandResultCallback callback) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions(@Nullable CompoundTag arguments, ExecutionControl<T> output, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T noCallbackSource, CommandFunction<T> function, Identifier id, CommandResultCallback functionResultCollector, boolean returnParentFrame)