#(Mr_Wholesome) Flat find blocks (horizontal)

35 messages · Page 1 of 1 (latest)

scarlet depot
#

Is there a way to find blocks in flat horizontal line not like find_blocks.within more like how water effects farmland in vanilla

rustic deltaBOT
#

(Mr_Wholesome) Flat find blocks (horizontal)

rustic deltaBOT
#

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.

scarlet depot
#

Since find_blocks.within gives you sphere shaped range its not 100% right when it comes to horizontal cheking

dark sorrelBOT
scarlet depot
#

included image as example

scarlet depot
boreal onyx
#

!t find.surface_blocks

fading scaffoldBOT
boreal onyx
#

Im not sure if this is what youre looking for

#

idrk what surface blocks finds though, and im not on to test it

#

weather surface means any blocks not covered by air directly

#

or any block not covered by air at all

#

but your solution seems to be fine

scarlet depot
#

tested that doesnt work in this use case

scarlet depot
hidden spindle
#

can grab corners from the center and make a cuboid and then return list of blocks in it

#

locationcenter + 4 Z + 4 X is one corner and locationcenter - 4 Z - 4 X is another corner

scarlet depot
#

isnt that what i did exactly ?

hidden spindle
#

but like 10 times more complicated

scarlet depot
#

but still need to find the nearest block

hidden spindle
#

make a cuboid out of two corner

#

corners

#

and then just

#

!t areatag.blocks

fading scaffoldBOT
#
Possible Confusion

Did you mean to search for itemtag.lock?

hidden spindle
#

!t areaobject.blocks

fading scaffoldBOT
scarlet depot
#

yeah that works much better

#

one short foreach and no if statement thanks

royal ruinBOT
#
Thread Closing Reminder

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.)

#

@scarlet depot

scarlet depot
#

i'll close this in couple hours i just wait if someone has any ideas or any other way for this