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 pFirst, CommandResultCallback pSecond) Methods in net.minecraft.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionstatic CommandResultCallback
CommandResultCallback.chain
(CommandResultCallback pFirst, CommandResultCallback pSecond) CommandSourceStack.withCallback
(CommandResultCallback pCallback) CommandSourceStack.withCallback
(CommandResultCallback pCallback, BinaryOperator<CommandResultCallback> pOperator) ExecutionCommandSource.withCallback
(CommandResultCallback pCallback) Method parameters in net.minecraft.commands with type arguments of type CommandResultCallbackModifier and TypeMethodDescriptionCommandSourceStack.withCallback
(CommandResultCallback pCallback, BinaryOperator<CommandResultCallback> pOperator) Constructors in net.minecraft.commands with parameters of type CommandResultCallbackModifierConstructorDescriptionprotected
CommandSourceStack
(CommandSource pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity, boolean pSilent, CommandResultCallback pResultCallback, EntityAnchorArgument.Anchor pAnchor, CommandSigningContext pSigningContext, TaskChainer pChatMessageChainer) -
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> pExecutionContext, CommandResultCallback pReturnValueConsumer) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialCommandExecution
(ExecutionContext<T> p_306236_, String p_305860_, com.mojang.brigadier.context.ContextChain<T> p_305784_, T p_306195_, CommandResultCallback p_309622_) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialFunctionCall
(ExecutionContext<T> pExecutionContext, InstantiatedFunction<T> pFunction, T pSource, CommandResultCallback pReturnValueConsumer) 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> pFunction, CommandResultCallback pResultCallback, boolean pReturnParentFrame) IsolatedCall
(Consumer<ExecutionControl<T>> pTaskProducer, CommandResultCallback pOutput) -
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 pSource, FunctionCommand.Callbacks<T> pCallbacks, ResourceLocation pFunction, CommandResultCallback pResultCallback) Methods in net.minecraft.server.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T pSource, FunctionCommand.Callbacks<T> pCallbacks, ResourceLocation pFunction, CommandResultCallback pResultCallback) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag p_309636_, ExecutionControl<T> p_309536_, com.mojang.brigadier.CommandDispatcher<T> p_309639_, T p_309605_, CommandFunction<T> p_309610_, ResourceLocation p_309719_, CommandResultCallback p_309544_, boolean p_309542_)