public class TagCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ADD_FAILED |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
REMOVE_FAILED |
Constructor and Description |
---|
TagCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
addTag(CommandSource source,
java.util.Collection<? extends Entity> entities,
java.lang.String tagName) |
private static java.util.Collection<java.lang.String> |
getAllTags(java.util.Collection<? extends Entity> entities) |
private static int |
listTags(CommandSource source,
java.util.Collection<? extends Entity> entities) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static int |
removeTag(CommandSource source,
java.util.Collection<? extends Entity> entities,
java.lang.String tagName) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REMOVE_FAILED
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static java.util.Collection<java.lang.String> getAllTags(java.util.Collection<? extends Entity> entities)
private static int addTag(CommandSource source, java.util.Collection<? extends Entity> entities, java.lang.String tagName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int removeTag(CommandSource source, java.util.Collection<? extends Entity> entities, java.lang.String tagName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int listTags(CommandSource source, java.util.Collection<? extends Entity> entities)