类 TagCommand
java.lang.Object
net.minecraft.server.commands.TagCommand
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static int
addTag
(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) private static Collection
<String> getTags
(Collection<? extends Entity> p_138853_) private static int
listTags
(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138837_) private static int
removeTag
(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_)
-
字段详细资料
-
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
-
-
构造器详细资料
-
TagCommand
public TagCommand()
-
-
方法详细资料
-
register
-
getTags
-
addTag
private static int addTag(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
removeTag
private static int removeTag(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listTags
-