npc removal by custom tags eg: /kill @e[type=taterzens:npc,name=<name>]
thecounter89 opened this issue ยท 3 comments
im making a map with npcs and creating npc's w presets through command blocks works fine but i can't find any way to remove them through a command block. if there's a known solution to this or way to make it possible that would be great.
i tried /kill @e[type=taterzens:npc,name=] using the name of the npc i want to remove and made sure it is not invulnerable but it does not work. also tried using the /npc remove w the npc i want to remove selected but that doesnt work in a command block
Try using quotes, e.g. name="My Taterzen". Otherwise try to ask in e.g. minecraft commands discord ;)
Just do /kill @e[type=taterzens:npc] without empty name and use distance modifier?