#(insertchee) Find_blocks confusion

23 messages · Page 1 of 1 (latest)

tawny timber
#

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?

zenith hearthBOT
#

(insertchee) Find_blocks confusion

zenith hearthBOT
#

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.

oak ocean
#

!debug

mystic spearBOT
# oak ocean !debug
Info: 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!

oak ocean
#

Can you run a debug with these ex commands and narrate <player.cursor_on.material> while looking on the block find-tags should find?

tawny timber
#

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

oak ocean
#

Could you do a full debug please

#

Dont provide snippets

tawny timber
#

a full debug of what?

#

that's the entire server log from running the command to queue end

oak ocean
#

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
tawny timber
#

ok that worked as expected???

#

10 block radius is fine, 64 blocks it doesn't find it

vale aurora
#

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

tawny timber
#

that's what was happening

#

works now

#

some kind of printout warning in console would be nice tbh