#(daxz_) get center of chunk but the top of it
33 messages · Page 1 of 1 (latest)
(daxz_) get center of chunk but the top of it
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.
what do you mean by top of it? do you mean the actual tippy top of the entire chunk or do you mean the top of the surface of the chunk?
surface blocks of chunk
but the center
so like ther
or wherever center of chunk it
i have an idea let me test it out real quick
shoot sorry i literally have to go right now
this is horrible timing man i'm sorry
i was going to mess with this tag so while i'm gone you could try messing around with it too? i'll try and help again when i get back soon
!t chunktag.surface_blocks
Returns a list of the highest non-air surface blocks in the chunk.
ListTag(LocationTag)
# Spawns a creeper above a random surface block to prevent the creeper from suffocating.
- spawn creeper <player.location.chunk.surface_blocks.random.above>
explain idea pls
<player.location.chunk.cuboid.center>
returns the center of the chunk that the player is in
oh
but returns a high y level
._.
this but then
!t location.highest
Returns the location of the highest solid block at the location.
world
LocationTag
sorry i had to leave, i was eating dinner
i think hyper + this tag will do the trick
i didn't realize that .highest was for locationtags when i reccommeneded the .surface_blocks 😅
oh