net.minecraft.server.command

public class TagCommand

net.minecraft.server.commands.TagCommand
net.minecraft.server.commands.TagCommand
net.minecraft.class_3140
net.minecraft.server.command.TagCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ADD_FAILED
ERROR_ADD_FAILED
field_13742
ADD_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_REMOVE_FAILED
ERROR_REMOVE_FAILED
field_13743
REMOVE_FAILED_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13698(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static Collection<String>
getTags(Collection<? extends Entity> entities)
getTags(Collection<? extends Entity> entities)
method_13706(Collection<? extends class_1297> arg0)
getTags(Collection<? extends Entity> entities)
private static int
addTag(CommandSourceStack source, Collection<? extends Entity> targets, String name)
addTag(CommandSourceStack source, Collection<? extends Entity> targets, String name)
method_13702(class_2168 arg0, Collection<? extends class_1297> arg1, String arg2)
executeAdd(ServerCommandSource source, Collection<? extends Entity> targets, String tag)
private static int
removeTag(CommandSourceStack source, Collection<? extends Entity> targets, String name)
removeTag(CommandSourceStack source, Collection<? extends Entity> targets, String name)
method_13699(class_2168 arg0, Collection<? extends class_1297> arg1, String arg2)
executeRemove(ServerCommandSource source, Collection<? extends Entity> targets, String tag)
private static int
listTags(CommandSourceStack source, Collection<? extends Entity> targets)
listTags(CommandSourceStack source, Collection<? extends Entity> targets)
method_13700(class_2168 arg0, Collection<? extends class_1297> arg1)
executeList(ServerCommandSource source, Collection<? extends Entity> targets)