#Bulk location check for block offsets

1 messages · Page 1 of 1 (latest)

sick owl
#

Lets say that sand drops gold nugget if there is any gold ore in the column below

jaunty mason
#

You need a raycast and a recursive function that checks every block
Thats really laggy

sick owl
#

I was wandering if condition 'location check' could be made in bulk

#

for the loot tables

jaunty mason
#

Also that would only check at the player's location

sick owl
#

I mean this thing

jaunty mason
sick owl
#

can you see that?

#

so if packed mud is on top of the stone it drops cobbled deepslate

#

this is basically massive copium that water/lava interaction is hard coded

jaunty mason
#

Oh its a loot table not an advancement

#

I don't think you can do bulk checks without functions

sick owl
#

would that be laggy tho

jaunty mason
bronze yew
#

It can, just do an any_of predicate first and then a bunch of location_check predicates inside it with different offsets