public class TagCommand extends Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ADD_FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
REMOVE_FAILED_EXCEPTION |
Constructor and Description |
---|
TagCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
executeAdd(ServerCommandSource source,
Collection<? extends Entity> targets,
String tag) |
private static int |
executeList(ServerCommandSource source,
Collection<? extends Entity> targets) |
private static int |
executeRemove(ServerCommandSource source,
Collection<? extends Entity> targets,
String tag) |
private static Collection<String> |
getTags(Collection<? extends Entity> entities) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REMOVE_FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static Collection<String> getTags(Collection<? extends Entity> entities)
private static int executeAdd(ServerCommandSource source, Collection<? extends Entity> targets, String tag)
private static int executeRemove(ServerCommandSource source, Collection<? extends Entity> targets, String tag)
private static int executeList(ServerCommandSource source, Collection<? extends Entity> targets)