#[Bookshelf] Raycast command result always outputs 1

1 messages · Page 1 of 1 (latest)

hot haloBOT
#
execute anchored eyes positioned ^ ^ ^ store success score .hit blocktips.rc run function #bs.raycast:run {with:{max_distance:5.0}}
execute if score .hit blocktips.rc matches 1 run ...

always outputs 1

patent impBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1751123075: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

undone tusk
#

Can we see the full file?

#

Also positioned ^ ^ ^ does absolutely nothing

placid siren
placid siren
patent impBOT
#
Question Closed

Your question, #1388528006817124362 ([Bookshelf] Raycast command result always outputs 1), was resolved!

Original Message

#1388528006817124362 message

Duration open

10m

night tree
# undone tusk Also ``positioned ^ ^ ^`` does absolutely nothing

A bit late to the party, but wanted to bring some knowledge here. It actually moves the position to the eye of the entity. anchored eyes alone sadly does nothing. It only prepare the command to be run at the eye level without actually changing the y level that's why we need local coordinates here

placid siren
#

Btw this was the solution if anyone has the same problem

patent impBOT
#
Question Closed

Your question, #1388528006817124362 ([Bookshelf] Raycast command result always outputs 1), was resolved!

Original Message

#1388528006817124362 message

Duration open

20h13m