#Negative condition predicate?
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1733452243:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
you don't need a predicate
But if you do for some reason, there's an inverted predicate type
[35mexecute [34mas [36m@e[33m[[37mtype[34m=[33m1minecraft:bee] [35m..[0m.
Did a mistake
[35mexecute [34mas [36m@e[33m[[37mtype[34m=[33m!minecraft:bee] [35m..[0m.
this is what my function looks like rn
do I just add this in front of every line?
Depends, do you want every non-bee mob in the world to spawn 5 bees?
no just the target entity that is running this function
should I go with @s[type=!minecraft:bee] ?
Or include the target selector argument in the command that runs this function
it's an enchantment
Then include a predicate that it only works if the enchanted entity is a non-bee
It's just a predicate that you then put another predicate inside of
inverted predicate, and an entity_properties inside of that
Of course, you'll want to do that in the enchantment
I still don't get how I get the inverted predicate...
...