net.minecraft.commands

public class Commands

dc
net.minecraft.commands.Commands
net.minecraft.class_2170
net.minecraft.server.command.CommandManager
net.minecraft.command.Commands
net.minecraft.server.v1_16_R3.CommandDispatcher

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_9833
LOGGER
field_197061_a
private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
b
dispatcher
field_9832
dispatcher
field_197062_b

Constructor summary

ModifierConstructor
public (Commands$CommandSelection environment)

Method summary

Modifier and TypeMethod
public int
a(db arg0, String arg1)
performCommand(CommandSourceStack arg0, String arg1)
method_9249(class_2168 arg0, String arg1)
execute(ServerCommandSource commandSource, String command)
func_197059_a(CommandSource arg0, String arg1)
public void
a(aah arg0)
sendCommands(ServerPlayer arg0)
method_9241(class_3222 arg0)
sendCommandTree(ServerPlayerEntity player)
func_197051_a(ServerPlayerEntity arg0)
private void
a(com.mojang.brigadier.tree.CommandNode<db> arg0, com.mojang.brigadier.tree.CommandNode<dd> arg1, db arg2, Map<com.mojang.brigadier.tree.CommandNode<db>, com.mojang.brigadier.tree.CommandNode<dd>> arg3)
fillUsableCommands(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> arg0, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> arg1, CommandSourceStack arg2, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> arg3)
method_9239(com.mojang.brigadier.tree.CommandNode<class_2168> arg0, com.mojang.brigadier.tree.CommandNode<class_2172> arg1, class_2168 arg2, Map<com.mojang.brigadier.tree.CommandNode<class_2168>, com.mojang.brigadier.tree.CommandNode<class_2172>> arg3)
makeTreeForSource(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>, com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes)
func_197052_a(com.mojang.brigadier.tree.CommandNode<CommandSource> arg0, com.mojang.brigadier.tree.CommandNode<ISuggestionProvider> arg1, CommandSource arg2, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>, com.mojang.brigadier.tree.CommandNode<ISuggestionProvider>> arg3)
public static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
a(String arg0)
literal(String arg0)
method_9247(String arg0)
literal(String literal)
func_197057_a(String arg0)
public static <T> com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSourceStack, T>
a(String arg0, com.mojang.brigadier.arguments.ArgumentType<T> arg1)
argument(String arg0, com.mojang.brigadier.arguments.ArgumentType<T> arg1)
method_9244(String arg0, com.mojang.brigadier.arguments.ArgumentType<T> arg1)
argument(String name, com.mojang.brigadier.arguments.ArgumentType<T> type)
func_197056_a(String arg0, com.mojang.brigadier.arguments.ArgumentType<T> arg1)
public static Predicate<String>
a(dc$b arg0)
createValidator(Commands$ParseFunction arg0)
method_9238(class_2170$class_2171 arg0)
getCommandValidator(CommandManager$CommandParser parser)
func_212590_a(Commands$IParser arg0)
public com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
a()
getDispatcher()
method_9235()
getDispatcher()
func_197054_a()
public static <S> com.mojang.brigadier.exceptions.CommandSyntaxException
a(com.mojang.brigadier.ParseResults<S> arg0)
getParseException(com.mojang.brigadier.ParseResults<S> arg0)
method_23917(com.mojang.brigadier.ParseResults<S> arg0)
getException(com.mojang.brigadier.ParseResults<S> parse)
func_227481_a_(com.mojang.brigadier.ParseResults<S> arg0)
public static void
b()
validate()
method_30852()
checkMissing()
func_242986_b()