Package net.minecraft.command.impl
Class TagCommand
- java.lang.Object
-
- net.minecraft.command.impl.TagCommand
-
public class TagCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ADD_FAILED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_REMOVE_FAILED
-
Constructor Summary
Constructors Constructor Description TagCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
addTag(CommandSource p_198749_0_, java.util.Collection<? extends Entity> p_198749_1_, java.lang.String p_198749_2_)
private static java.util.Collection<java.lang.String>
getTags(java.util.Collection<? extends Entity> p_198748_0_)
private static int
listTags(CommandSource p_198744_0_, java.util.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_, java.util.Collection<? extends Entity> p_198750_1_, java.lang.String p_198750_2_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198743_0_)
-
getTags
private static java.util.Collection<java.lang.String> getTags(java.util.Collection<? extends Entity> p_198748_0_)
-
addTag
private static int addTag(CommandSource p_198749_0_, java.util.Collection<? extends Entity> p_198749_1_, java.lang.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_, java.util.Collection<? extends Entity> p_198750_1_, java.lang.String p_198750_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listTags
private static int listTags(CommandSource p_198744_0_, java.util.Collection<? extends Entity> p_198744_1_)
-
-