Unable to filter charged/normal creepers using commands
Typing /kill @e[nbt=
{Powered:0}]
does not do antyhing. This command should kill all the creepers who are not charged.
- The NBT key has no capitals (so "powered")
- The NBT is a byte (so 0b/1b, not 0/1, those will never succeed in tests unless the NBT is an int.)
- See MC-87252. Use nbt=!{powered:1b} to target uncharged ones as the tag is optional and will not exist if the default value (0b) is used, as such testing for it being 0b won't succeed.
Created Issue:
Unable to filter charged/normal creepers using commands
Typing /kill @e[nbt=
{Powered:0}] does not do antyhing. This command should kill all the creepers who are not charged.
Changed Description:
Typing /kill @e[nbt=
{Powered:0}] does not do antyhing. This command should kill all the creepers who are not charged.
Typing /kill @e[nbt=
{Powered:0}]
does not do antyhing. This command should kill all the creepers who are not charged.
Added Labels: command-bug commands