Uses of Interface
net.minecraft.server.command.AbstractServerCommandSource
Package
Description
-
Uses of AbstractServerCommandSource in net.minecraft.command
Modifier and TypeClassDescriptionclass
CommandFunctionAction<T extends AbstractServerCommandSource<T>>
static class
ControlFlowAware.Helper<T extends AbstractServerCommandSource<T>>
class
FallthroughCommandAction<T extends AbstractServerCommandSource<T>>
class
FixedCommandAction<T extends AbstractServerCommandSource<T>>
class
IsolatedCommandAction<T extends AbstractServerCommandSource<T>>
class
SingleCommandAction<T extends AbstractServerCommandSource<T>>
static class
SingleCommandAction.MultiSource<T extends AbstractServerCommandSource<T>>
static class
SingleCommandAction.SingleSource<T extends AbstractServerCommandSource<T>>
static class
SingleCommandAction.Sourced<T extends AbstractServerCommandSource<T>>
Modifier and TypeFieldDescriptionprivate final T
SingleCommandAction.MultiSource.baseSource
private final T
SingleCommandAction.SingleSource.source
Modifier and TypeFieldDescriptionprivate static final FallthroughCommandAction
<? extends AbstractServerCommandSource<?>> FallthroughCommandAction.INSTANCE
Modifier and TypeMethodDescriptionstatic <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) static <T extends AbstractServerCommandSource<T>>
CommandAction<T> FallthroughCommandAction.getInstance()
static <T extends AbstractServerCommandSource<T>>
ExecutionControl<T> ExecutionControl.of
(CommandExecutionContext<T> context, Frame frame) -
Uses of AbstractServerCommandSource in net.minecraft.server.command
Modifier and TypeInterfaceDescriptioninterface
AbstractServerCommandSource<T extends AbstractServerCommandSource<T>>
private static class
ReturnCommand.FailCommand<T extends AbstractServerCommandSource<T>>
private static class
ReturnCommand.ReturnRunRedirector<T extends AbstractServerCommandSource<T>>
private static class
ReturnCommand.ValueCommand<T extends AbstractServerCommandSource<T>>
Modifier and TypeClassDescriptionclass
Represents a command source used on server side.Modifier and TypeMethodDescriptionstatic <T extends AbstractServerCommandSource<T>>
com.mojang.brigadier.ResultConsumer<T> AbstractServerCommandSource.asResultConsumer()
static <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueAction
(Collection<CommandFunction<T>> commandFunctions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer, ExecutionFlags flags) static <T extends AbstractServerCommandSource<T>>
voidExecuteCommand.enqueueExecutions
(T baseSource, List<T> sources, Function<T, T> functionSourceGetter, IntPredicate predicate, com.mojang.brigadier.context.ContextChain<T> contextChain, @Nullable NbtCompound args, ExecutionControl<T> control, ExecuteCommand.FunctionNamesGetter<T, Collection<CommandFunction<T>>> functionNamesGetter, ExecutionFlags flags) private 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) private static <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueInReturnRun
(Collection<CommandFunction<T>> functions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) private static <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueOutsideReturnRun
(Collection<CommandFunction<T>> functions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) static <T extends AbstractServerCommandSource<T>>
voidReturnCommand.register
(com.mojang.brigadier.CommandDispatcher<T> dispatcher) private static <T extends AbstractServerCommandSource<T>>
ReturnValueConsumerFunctionCommand.wrapReturnValueConsumer
(T flags, FunctionCommand.ResultConsumer<T> resultConsumer, Identifier id, ReturnValueConsumer wrapped) -
Uses of AbstractServerCommandSource in net.minecraft.server.function
Modifier and TypeClassDescription(package private) class
FunctionBuilder<T extends AbstractServerCommandSource<T>>
class
Macro<T extends AbstractServerCommandSource<T>>
(package private) static class
Macro.VariableLine<T extends AbstractServerCommandSource<T>>
Modifier and TypeMethodDescriptionstatic <T extends AbstractServerCommandSource<T>>
CommandFunction<T> CommandFunction.create
(Identifier id, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, List<String> lines) Parses a function in the context ofsource
.static <T extends AbstractServerCommandSource<T>>
SourcedCommandAction<T> CommandFunction.parse
(com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, com.mojang.brigadier.StringReader reader)