ImprovedFactions
Toggle table of contents
2.3.0
jvm
Platform filter
jvm
Switch theme
Search in API
ImprovedFactions
ImprovedFactions
/
io.github.toberocat.improvedfactions.claims.clustering.position
/
WorldPosition
World
Position
data
class
WorldPosition
(
val
world
:
String
,
val
x
:
Int
,
val
y
:
Int
)
Members
Constructors
World
Position
Link copied to clipboard
constructor
(
world
:
String
,
x
:
Int
,
y
:
Int
)
Properties
world
Link copied to clipboard
val
world
:
String
x
Link copied to clipboard
val
x
:
Int
y
Link copied to clipboard
val
y
:
Int
Functions
compute
Chunks
From
Center
Link copied to clipboard
fun
computeChunksFromCenter
(
)
:
List
<
ChunkPosition
>
distance
To
Link copied to clipboard
fun
distanceTo
(
other
:
WorldPosition
)
:
Double
get
Axis
Link copied to clipboard
fun
getAxis
(
other
:
WorldPosition
)
:
Pair
<
Int
,
Int
>
is
Same
Axis
Link copied to clipboard
fun
isSameAxis
(
other
:
WorldPosition
)
:
Boolean
fun
isSameAxis
(
other
:
WorldPosition
,
allowedAxis
:
Set
<
Pair
<
Int
,
Int
>
>
)
:
Boolean