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 pFirst, CommandResultCallback pSecond) Methods in net.minecraft.commands with parameters of type CommandResultCallbackModifier and TypeMethodDescriptionstatic CommandResultCallbackCommandResultCallback.chain(CommandResultCallback pFirst, CommandResultCallback pSecond) CommandSourceStack.withCallback(CommandResultCallback p_309591_) 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 CommandResultCallbackModifierConstructorDescriptionprotectedCommandSourceStack(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 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> pExecutionContext, CommandResultCallback pReturnValueConsumer) static <T extends ExecutionCommandSource<T>>
voidExecutionContext.queueInitialCommandExecution(ExecutionContext<T> pExecutionContext, String pCommandInput, com.mojang.brigadier.context.ContextChain<T> pCommand, T pSource, CommandResultCallback pReturnValueConsumer) 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 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> 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 pArguments, ExecutionControl<T> pExecutionControl, com.mojang.brigadier.CommandDispatcher<T> pDispatcher, T pSource, CommandFunction<T> pFunction, ResourceLocation pFunctionId, CommandResultCallback pResultCallback, boolean pReturnParentFrame)