toggle menu
core
git-2534f55
jvm
switch theme
search in API
core
/
com.github.spigotbasics.core.model
/
BlockInChunkSnapshot
Block
In
Chunk
Snapshot
data
class
BlockInChunkSnapshot
(
val
x
:
Int
,
val
y
:
Int
,
val
z
:
Int
,
val
chunk
:
ChunkSnapshot
,
val
minY
:
Int
,
val
maxY
:
Int
)
Members
Constructors
Block
In
Chunk
Snapshot
Link copied to clipboard
constructor
(
x
:
Int
,
y
:
Int
,
z
:
Int
,
chunk
:
ChunkSnapshot
,
minY
:
Int
,
maxY
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
chunk
Link copied to clipboard
val
chunk
:
ChunkSnapshot
max
Y
Link copied to clipboard
val
maxY
:
Int
min
Y
Link copied to clipboard
val
minY
:
Int
x
Link copied to clipboard
val
x
:
Int
y
Link copied to clipboard
val
y
:
Int
z
Link copied to clipboard
val
z
:
Int
Functions
get
Relative
Y
Link copied to clipboard
fun
getRelativeY
(
yOffset
:
Int
)
:
BlockInChunkSnapshot
get
Type
Link copied to clipboard
fun
getType
(
)
:
Material
to
Location
Link copied to clipboard
fun
toLocation
(
world
:
World
)
:
Location