I'm currently stood in this area, trying to get find_blocks and find_tile_entities to work. When I run /ex narrate <player.location.find_blocks[stone_bricks].within[64]> or /ex narrate <player.location.find_tile_entities[red_shulker_box].within[64]> I get results (although I cannot verify it finds every stone brick block within 64 blocks), however running /ex narrate <player.location.find_blocks[sandstone].within[64]> returns no results, despite the sandstone block right there. The same thing happens with iron blocks, diamond blocks and netherite blocks but not gold blocks. The only pattern seems to be that the found blocks have existed since the last server restart. What have I got wrong here?
#(insertchee) Find_blocks confusion
23 messages · Page 1 of 1 (latest)
(insertchee) Find_blocks confusion
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.
!debug
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!
Can you run a debug with these ex commands and narrate <player.cursor_on.material> while looking on the block find-tags should find?
so my server isn't running at the moment, however I have an example from logs with reinforced deepslate (same issue):
[17:13:52] [Server thread/INFO]: Starting InstantQueue 'EXCOMMAND_2676_OregonThemselves' with player 'Cheerios32'...
[17:13:52] [Server thread/INFO]: +- Queue 'EXCOMMAND_2676_OregonThemselves' Executing: (line 1) narrate <player.cursor_on.material> ---------+
[17:13:52] [Server thread/INFO]: Filled tag <player.cursor_on.material> with 'm@reinforced_deepslate'.
[17:13:52] [Server thread/INFO]: +> Executing 'NARRATE': Narrating='m@reinforced_deepslate' Targets='[p@2ad8b149-8426-492a-8350-6859ab4f8983 (Cheerios32)]'
[17:13:52] [Server thread/INFO]: Completing queue 'EXCOMMAND_2676_OregonThemselves' in 1ms.
[17:13:32] [Server thread/INFO]: Cheerios32 issued server command: /ex narrate <player.location.find_blocks[reinforced_deepslate].within[64]>
[17:13:32] [Server thread/INFO]: Starting InstantQueue 'EXCOMMAND_2649_ZozerBoards' with player 'Cheerios32'...
[17:13:32] [Server thread/INFO]: +- Queue 'EXCOMMAND_2649_ZozerBoards' Executing: (line 1) narrate <player.location.find_blocks[reinforced_deepslate].within[64]> ---------+
[17:13:32] [Server thread/INFO]: Filled tag <player.location.find_blocks[reinforced_deepslate].within[64]> with 'li@ (Size 0)'.
[17:13:32] [Server thread/INFO]: +> Executing 'NARRATE': Narrating='li@' Targets='[p@2ad8b149-8426-492a-8350-6859ab4f8983 (Cheerios32)]'
[17:13:32] [Server thread/INFO]: Completing queue 'EXCOMMAND_2649_ZozerBoards' in 96ms.
i.e. it's narrating the material as I'd expect, but the find isn't finding it
a full debug of what?
that's the entire server log from running the command to queue end
from the commands
but record it properly
/denizen debug -r
/ex narrate <player.cursor_on.material>
/ex narrate <player.location.find_blocks[reinforced_deepslate].within[10]>
/denizen submit
ok that worked as expected???
Content of Server Log Paste #122008: Denizen Debug Logs From A Minecraft Server... pasted 2024/04/15 10:19:41 UTC-07:00, Paste length: 2558 characters across 28 lines, Content: Java Version: 17.0.3Up-time: 3m 9s
10 block radius is fine, 64 blocks it doesn't find it
There's a config option to limit the amount of blocks these tags can look up (to avoid someone killing their server with massive lookups), Tags.Block Tags.Max blocks iirc - you might be running into that limit