#how could i detect if theres a block above a block?
1 messages · Page 1 of 1 (latest)
block above event-block is hopper?
idk, what event are you using?
im not actually using event my bad
im using loop
to loop all blocks in radius
could you show the code?
yeah
every 8 seconds:
loop all players:
loop all blocks in radius 13 around loop-player:
if {placedrgens::Coal::%loop-player's uuid%::*} contains loop-block's location:
set {_l} to block above loop-value-2
drop 1 of {drops::NOTE1} 1 meters above {_l} without velocity
chance of 2%:
drop 1 of {drops::gem} 1 meters above {_l} without velocity
stop
any idea how? do i set a variable or just check if
idk what're you trying to do with it?
i want to check if theres a hopper above {_l} of loop-block then it drops above the hopper