Vampirism - Become a vampire!

Vampirism - Become a vampire!

16M Downloads

entity selectors not working in 1.16

jeroen11122005 opened this issue ยท 3 comments

commented

Versions

  • Minecraft: minecraft 1.16.5

  • Forge: forge 36.0.40

  • Vampirism: 1.7.6

  • ModPack: N/A

Issue Description

The entity selectors are not working at all, whenever I try to use one it says "unknown option 'vampirism'" and doesn't execute the command

Reproduce Steps

enter a world with cheats enabled
try using commands with the selectors

Additional Information

image

commented

Try: /kill @e[type=!#vampirism:vampire]

Note that the ! means "kill everything but vampire entities." The command your probably seeking is /kill @e[type=#vampirism:vampire] which means "kill every vampire entity."

commented

Try: /kill @e[type=!#vampirism:vampire]

Note that the ! means "kill everything but vampire entities." The command your probably seeking is /kill @e[type=#vampirism:vampire] which means "kill every vampire entity."

That works for killing the vampire entity type. But there are specific entity selectors https://github.com/TeamLapen/Vampirism/wiki/Commands-and-Cheats#entity-selectors-as-of-version-11 which appear to be bugged

commented

Ok, seems they just require quotes now:
/kill @e["vampirism:faction"="vampirism:vampire"]
I have updated the Wiki accordingly.

An alternative would be to not use a colon, but this makes it clear it is a modded selector