Bound - Locations (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.5.9
Syntax
[the] bound (center|(greater|lesser) corner) of %bounds%Description
Get/modify the locations of a bound. Greater will always equal the higher south-east corner. Lesser will always equal the lower north-west corner. You can set the two corners of the bound to new values. You can also add/subtract vectors to/from the corners.
Examples
set {_center} to bound center of bound with id "spawn-bound"
set block at bound greater corner of {_bound} to pink wool
set bound lesser corner of {_bound} to location of player
set bound greater corner of bound with id "ma_bound" to {_loc}
add vector(5,5,5) to bound greater corner of {_bound}
subtract vector(0,10,0) from bound greater corner of {_bound}