#(cookiebloc) The command "switch" cannot be used with a suspended clock
43 messages · Page 1 of 1 (latest)
(cookiebloc) The command "switch" cannot be used with a suspended clock
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
suspended clock?
I'm sorry, I used a mechanical translator
Can just post a screenshot of the block you're using it on if you're having trouble with translating
I mean, the clock hanging from the block
If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!
Content of Server Log Paste #111805: Denizen Debug Logs From A Minecraft Server... pasted 2023/07/01 06:06:19 UTC-07:00, Paste length: 5937 characters across 62 lines, Content: Java Version: 20.0.1Up-time: 1h 10m
That's a bell
I think you want <player.cursor_on> here
<player.location> might not return the correct block
!t player.cursor_on
Returns the location of the block the entity is looking at.
Optionally, specify a maximum range to find the location from (defaults to 200).
This uses logic equivalent to !tag LocationTag.precise_cursor_on_block[(range)].
Note that this will return null if there is no block in range.
This uses all blocks, ie it includes passable blocks like tall-grass and water. Use !tag EntityTag.cursor_on_solid to exclude passable blocks.
Equivalent to <EntityTag.eye_location.ray_trace[return=block;fluids=true;nonsolids=true]>
location
LocationTag
The switch command isn’t a one off thing, you need more information on what you’re matching
!c switch u
world
switch [<location>|...] (state:{toggle}/on/off) (duration:<value>) (no_physics)
Switches state of the block.
- switch <player.location> state:on
- switch <player.cursor_on> state:on
- switch <player.location>
Can replicate
Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.
thank u all
This should be fixed ref #commit-log message
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@tacit shoal
