EasySpigotAPI
/
com.github.syari.spigot.api.world
/
Region
Region
class
Region
(world:
World
, pos1:
Vector
, pos2:
Vector
)
Content copied to clipboard
領域を表す。
Since
1.4.0
Types
Constructors
Functions
Properties
Constructors
Region
Link copied to clipboard
fun
Region
(world:
World
, pos1:
Vector
, pos2:
Vector
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
inRegion
Link copied to clipboard
fun
inRegion
(o:
Location
):
Boolean
Content copied to clipboard
領域内の座標かどうかを取得する。
Properties
pos1
Link copied to clipboard
val
pos1
:
Vector
Content copied to clipboard
領域の片方の頂点
pos2
Link copied to clipboard
val
pos2
:
Vector
Content copied to clipboard
領域の片方の頂点
world
Link copied to clipboard
val
world
:
World
Content copied to clipboard