Package net.minecraft.command.impl
Class TagCommand
java.lang.Object
net.minecraft.command.impl.TagCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
addTag
(CommandSource p_198749_0_, Collection<? extends Entity> p_198749_1_, String p_198749_2_) private static Collection<String>
getTags
(Collection<? extends Entity> p_198748_0_) private static int
listTags
(CommandSource p_198744_0_, Collection<? extends Entity> p_198744_1_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198743_0_) private static int
removeTag
(CommandSource p_198750_0_, Collection<? extends Entity> p_198750_1_, String p_198750_2_)
-
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(CommandSource p_198749_0_, Collection<? extends Entity> p_198749_1_, String p_198749_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
removeTag
private static int removeTag(CommandSource p_198750_0_, Collection<? extends Entity> p_198750_1_, String p_198750_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listTags
-