Package net.minecraft.server.commands
Class TagCommand
java.lang.Object
net.minecraft.server.commands.TagCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intaddTag(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) private static Collection<String>getTags(Collection<? extends Entity> p_138853_) private static intlistTags(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138837_) private static intremoveTag(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_) 
- 
Field Details- 
ERROR_ADD_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ADD_FAILED
- 
ERROR_REMOVE_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_REMOVE_FAILED
 
- 
- 
Constructor Details- 
TagCommandpublic TagCommand()
 
- 
- 
Method Details- 
register
- 
getTags
- 
addTagprivate 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
 
- 
removeTagprivate 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
 
-