Package net.minecraft.server.commands
Class TagCommand
java.lang.Object
net.minecraft.server.commands.TagCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
addTag(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_)
private static Collection<String>
getTags(Collection<? extends Entity> p_138853_)
private static int
listTags(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138837_)
private static int
removeTag(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_)
-
Field Details
-
ERROR_ADD_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ADD_FAILED -
ERROR_REMOVE_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_REMOVE_FAILED
-
-
Constructor Details
-
TagCommand
public TagCommand()
-
-
Method Details
-
register
-
getTags
-
addTag
private static int addTag(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
removeTag
private static int removeTag(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listTags
-