#new with predicates, how does it work
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:1739713770: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
Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D
Open question: #1340300548443734107
tried this
That is checking that the player is both at y=54 and y=90, which can never be true
ah💀
For the second condition, you probably want a location_check
how can you make to detect if the block at ~ 90 ~ is a barrier
in the same predicate?
Yep
or to check if one of these is true i need 2
if either y is bellow 54 or the block at ~90~ is NOT a barrier then run function
Yep
because i never done a predicate bfore
Yeah, you need to change it to "Any Of"
im in 1.19
my mind is going to crash rn
im sorry but where do you have to do that
oh ok
i never done a predicate
It's called something different in 1.19
I think it's "Alternatives"? Let me check
Yep
So where it says "Condition Entity properties", click that dropdown and select "Alternative"
ah so now
now that is the predicate
and everytime i add terms is a new condition
and if any of them are true this predicate is tru?
wait so this is it?
if pos y is lower than 55 OR if the block at ~ 90 ~ from the player this is executed at is barrier then it is true?
wait no, that is checking if the barrier thing is true