Uses of Interface
net.minecraft.command.ReturnValueConsumer
-
Uses of ReturnValueConsumer in net.minecraft.command
Modifier and TypeFieldDescriptionstatic final ReturnValueConsumer
ReturnValueConsumer.EMPTY
private final ReturnValueConsumer
CommandFunctionAction.returnValueConsumer
private final ReturnValueConsumer
Frame.returnValueConsumer
The field for thereturnValueConsumer
record component.private final ReturnValueConsumer
IsolatedCommandAction.returnValueConsumer
Modifier and TypeMethodDescriptionstatic ReturnValueConsumer
ReturnValueConsumer.chain
(ReturnValueConsumer a, ReturnValueConsumer b) Frame.returnValueConsumer()
Returns the value of thereturnValueConsumer
record component.Modifier and TypeMethodDescriptionstatic ReturnValueConsumer
ReturnValueConsumer.chain
(ReturnValueConsumer a, ReturnValueConsumer b) static <T extends AbstractServerCommandSource<T>>
voidCommandExecutionContext.enqueueCommand
(CommandExecutionContext<T> context, String command, com.mojang.brigadier.context.ContextChain<T> contextChain, T source, ReturnValueConsumer returnValueConsumer) static <T extends AbstractServerCommandSource<T>>
voidCommandExecutionContext.enqueueProcedureCall
(CommandExecutionContext<T> context, Procedure<T> procedure, T source, ReturnValueConsumer returnValueConsumer) private static <T extends AbstractServerCommandSource<T>>
FrameCommandExecutionContext.frame
(CommandExecutionContext<T> context, ReturnValueConsumer returnValueConsumer) ModifierConstructorDescriptionCommandFunctionAction
(Procedure<T> function, ReturnValueConsumer returnValueConsumer, boolean propagateReturn) Frame
(int int2, ReturnValueConsumer returnValueConsumer, Frame.Control control) IsolatedCommandAction
(Consumer<ExecutionControl<T>> controlConsumer, ReturnValueConsumer returnValueConsumer) -
Uses of ReturnValueConsumer in net.minecraft.server.command
Modifier and TypeFieldDescriptionprivate final ReturnValueConsumer
ServerCommandSource.returnValueConsumer
Modifier and TypeMethodDescriptionAbstractServerCommandSource.getReturnValueConsumer()
ServerCommandSource.getReturnValueConsumer()
private static <T extends AbstractServerCommandSource<T>>
ReturnValueConsumerFunctionCommand.wrapReturnValueConsumer
(T flags, FunctionCommand.ResultConsumer<T> resultConsumer, Identifier id, ReturnValueConsumer wrapped) Modifier and TypeMethodDescriptionprivate static <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueFunction
(@Nullable NbtCompound args, ExecutionControl<T> control, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, Identifier id, ReturnValueConsumer returnValueConsumer, boolean propagateReturn) ServerCommandSource.mergeReturnValueConsumers
(ReturnValueConsumer returnValueConsumer, BinaryOperator<ReturnValueConsumer> merger) AbstractServerCommandSource.withReturnValueConsumer
(ReturnValueConsumer returnValueConsumer) ServerCommandSource.withReturnValueConsumer
(ReturnValueConsumer returnValueConsumer) private static <T extends AbstractServerCommandSource<T>>
ReturnValueConsumerFunctionCommand.wrapReturnValueConsumer
(T flags, FunctionCommand.ResultConsumer<T> resultConsumer, Identifier id, ReturnValueConsumer wrapped) Modifier and TypeMethodDescriptionServerCommandSource.mergeReturnValueConsumers
(ReturnValueConsumer returnValueConsumer, BinaryOperator<ReturnValueConsumer> merger) ModifierConstructorDescriptionprotected
ServerCommandSource
(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, ReturnValueConsumer resultStorer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue)