#(strook) Creating a cuboidtag using relative coordinates
1 messages · Page 1 of 1 (latest)
(strook) Creating a cuboidtag using relative coordinates
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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
if it's 100x100x100, a cube, you can do this:
<[location].to_cuboid[<[location]>]>
same location in both
and then
!t cuboid.expand
Expands the cuboid by the given amount, and returns the changed cuboid.
This will decrease the min coordinates by the given vector location, and increase the max coordinates by it.
Supplying a negative input will therefore contract the cuboid.
Note that you can also specify a single number to expand all coordinates by the same amount (equivalent to specifying a location that is that value on X, Y, and Z).
Not valid for multi-member CuboidTags.
CuboidTag
# If "my_cuboid" spans from 10,10,10 to 5,5,5 and gets expanded by 15 (15,15,15),
# then "my_expanded_cuboid" will span -10,-10,-10 (min) to 25,25,25 (max).
- note <cuboid[my_cuboid].expand[15]> as:my_expanded_cuboid
# If "my_cuboid" spans from 10,10,10 to 5,5,5 and gets expanded by 15,20,25,
# then "my_expanded_cuboid" will span -10,-15,-20 (min) to 25,30,35 (max).
- note <cuboid[my_cuboid].expand[15,20,25]> as:my_expanded_cuboid
with either 50 or 100, i dont remember if it expands diameter or radius
if it's not supposed to be a cube, but, lets say, 100x10x100, so 10 blocks tall, then you'd have to change the two corners with .add, one with .add[-50,0,-50] and the other with .add[50,10,50]
and then use .to_cuboid on these two
lemme just link the to_cuboid tag
!t to_cuboid
Returns a cuboid from this location to the specified location.
areas
CuboidTag