mojira.dev
MC-172726

Incorrect result (Maybe)

As you can see, I was trying to write a command. This command was supposed to give me a diamond (for example) by pressing the lever if there is any entity in the loaded chunks other than raiders. But even in their presence, at the touch of a lever, I get a diamond. Am I doing something wrong?

Attachments

Comments 2

Perhaps you want unless entity @e[[type=#raiders]|#raiders]? Currently it's checking if there is any non-raider entity, and it's finding you (the player, a non-raider entity) every time

Okay. Here is another problem. I tried to make the vindicator spawn a "clone" for myself if there is a entity in the area who is not a raider. But for some reason it does not work properly. Something is wrong?

[media][media][media]

Artemiy

(Unassigned)

Unconfirmed

(Unassigned)

20w08a

Retrieved