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
/
ChunkPosition
Chunk
Position
data
class
ChunkPosition
(
val
x
:
Int
,
val
y
:
Int
,
val
world
:
String
)
Members
Constructors
Chunk
Position
Link copied to clipboard
constructor
(
x
:
Int
,
y
:
Int
,
world
:
String
)
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
distance
Squared
To
Link copied to clipboard
fun
distanceSquaredTo
(
x
:
Double
,
y
:
Double
)
:
Double
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
get
Chunk
Link copied to clipboard
fun
getChunk
(
)
:
Chunk
?
get
Corner
Points
Link copied to clipboard
fun
getCornerPoints
(
)
:
List
<
WorldPosition
>
get
Faction
Claim
Link copied to clipboard
fun
getFactionClaim
(
)
:
FactionClaim
?
get
Neighbours
Link copied to clipboard
fun
getNeighbours
(
radius
:
Int
)
:
MutableList
<
ChunkPosition
>
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
minus
Link copied to clipboard
operator
fun
minus
(
cellFrom
:
ChunkPosition
)
:
ChunkPosition
to
World
Position
Link copied to clipboard
fun
toWorldPosition
(
)
:
WorldPosition
uniqu
Id
Link copied to clipboard
fun
uniquId
(
)
:
String