net.minecraft.commands

public class Commands

dm
net.minecraft.commands.Commands
net.minecraft.class_2170
net.minecraft.server.command.CommandManager
net.minecraft.src.C_3027_
net.minecraft.commands.CommandDispatcher

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
f
LOGGER
field_9833
LOGGER
f_82089_
public static final int
a
LEVEL_ALL
field_31837
field_31837
f_165682_
public static final int
b
LEVEL_MODERATORS
field_31838
field_31838
f_165683_
public static final int
c
LEVEL_GAMEMASTERS
field_31839
field_31839
f_165684_
public static final int
d
LEVEL_ADMINS
field_31840
field_31840
f_165685_
public static final int
e
LEVEL_OWNERS
field_31841
field_31841
f_165686_
private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
g
dispatcher
field_9832
dispatcher
f_82090_

Constructor summary

ModifierConstructor
public (Commands$CommandSelection environment)

Method summary

Modifier and TypeMethod
public int
a(dl arg0, String arg1)
performCommand(CommandSourceStack arg0, String arg1)
method_9249(class_2168 arg0, String arg1)
execute(ServerCommandSource commandSource, String command)
m_82117_(C_2969_ p_82119_, String arg1)
public void
a(abs arg0)
sendCommands(ServerPlayer arg0)
method_9241(class_3222 arg0)
sendCommandTree(ServerPlayerEntity player)
m_82095_(C_13_ arg0)
private void
a(com.mojang.brigadier.tree.CommandNode<dl> arg0, com.mojang.brigadier.tree.CommandNode<dn> arg1, dl arg2, Map<com.mojang.brigadier.tree.CommandNode<dl>, com.mojang.brigadier.tree.CommandNode<dn>> 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)
m_82112_(com.mojang.brigadier.tree.CommandNode<C_2969_> p_82114_, com.mojang.brigadier.tree.CommandNode<C_3063_> p_82115_, C_2969_ p_82116_, Map<com.mojang.brigadier.tree.CommandNode<C_2969_>, com.mojang.brigadier.tree.CommandNode<C_3063_>> arg3)
public static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
a(String arg0)
literal(String arg0)
method_9247(String arg0)
literal(String literal)
m_82127_(String p_82128_)
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)
m_82129_(String p_82130_, com.mojang.brigadier.arguments.ArgumentType<T> p_82131_)
public static Predicate<String>
a(dm$b arg0)
createValidator(Commands$ParseFunction arg0)
method_9238(class_2170$class_2171 arg0)
getCommandValidator(CommandManager$CommandParser parser)
m_82120_(C_3027_$C_3029_ p_82121_)
public com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
a()
getDispatcher()
method_9235()
getDispatcher()
m_82094_()
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)
m_82097_(com.mojang.brigadier.ParseResults<S> p_82098_)
public static void
b()
validate()
method_30852()
checkMissing()
m_82138_()