#JackHammer custom enchant
1 messages · Page 1 of 1 (latest)
Or is there a way to make it possible that it only loops blocks in a region with world guard?
Hm
Imma go to sleep and hope for a response when i wake up

Yeah, what section, I went to the docs, no idea what to read or where to go
You can't just say read the docs without telling me where to go in the docs, or I've got a better idea, just tell it to me, I made this thread for direct help, not click this or go here and do this. I've already done that, this is always my last resort, I search it, as others, look at the docs, then I come here
okay first of all is the mine 1 region?
then just set a variabel the to current y-level of the block break-
and then the rest is logic
Okay well, could you actually show me the code, like I got no idea what I'm doing
you could try using the players y level but that wouldn’t work if they are flying
They will be flying sooo
I need a way that like loops on blocks on the y level of the event-block (the block they have mined) but if it doesnt loop blocks past bedrock, or use regions
So I'm guessing there isnt anyone that might be able to help me?
Dude i already have but you have to think yourself
y coordinate of location of event-block
(event-block’s location)’s y coord
Okay, why did you think I cam here, to be told something I already know?
Okay then just loop all blocks in region where y-level is the same dude not that Hard to think yourself
no one is writing the code for you
or maybe xD
Okay so basically all I want is for when a block is mined it loops all blocks in the same y level as the event-block BUT if it detects bedrock then it does not loop any blocks past the bedrock, is that possible?
ok
so you want to loop all blocks around the player in a radius
where [input is not bedrock]
and add a statement if y cord of loop-value is the y cord u want theen do stuff
i think using this u should be able to make the code
Just make the mine a region
Okay, I have tried absolutely everything I know, can someone plese just tell me how to loop all blocks on the y coord of the event block, that is legit all I need, and I do not have clue on how to do it