toggle menu
nova-parent
0.17-alpha.34
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.world
/
BlockPos
Block
Pos
data
class
BlockPos
(
val
world
:
World
,
val
x
:
Int
,
val
y
:
Int
,
val
z
:
Int
)
Members
Members & Extensions
Constructors
Block
Pos
Link copied to clipboard
constructor
(
world
:
World
,
x
:
Int
,
y
:
Int
,
z
:
Int
)
Properties
below
Link copied to clipboard
val
below
:
BlockPos
block
Link copied to clipboard
val
block
:
Block
block
State
Link copied to clipboard
val
blockState
:
BlockState
chunk
Pos
Link copied to clipboard
val
chunkPos
:
ChunkPos
chunk
Section
Link copied to clipboard
val
BlockPos
.
chunkSection
:
LevelChunkSection
location
Link copied to clipboard
val
location
:
Location
nms
Block
Entity
Link copied to clipboard
val
nmsBlockEntity
:
BlockEntity
?
nms
Block
State
Link copied to clipboard
val
nmsBlockState
:
BlockState
nms
Pos
Link copied to clipboard
val
nmsPos
:
BlockPos
nova
Block
State
Link copied to clipboard
val
novaBlockState
:
NovaBlockState
?
vector3i
Link copied to clipboard
val
vector3i
:
Vector3i
world
Link copied to clipboard
val
world
:
World
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
add
Link copied to clipboard
fun
add
(
x
:
Int
,
y
:
Int
,
z
:
Int
)
:
BlockPos
advance
Link copied to clipboard
fun
advance
(
face
:
BlockFace
,
step
:
Int
=
1
)
:
BlockPos
get
Block
State
Link copied to clipboard
fun
BlockPos
.
getBlockState
(
)
:
BlockState
play
Sound
Link copied to clipboard
fun
playSound
(
sound
:
String
,
volume
:
Float
,
pitch
:
Float
)
fun
playSound
(
sound
:
Sound
,
volume
:
Float
,
pitch
:
Float
)
fun
playSound
(
sound
:
String
,
category
:
SoundCategory
,
volume
:
Float
,
pitch
:
Float
)
set
Block
State
Link copied to clipboard
fun
BlockPos
.
setBlockState
(
state
:
BlockState
)
set
Block
State
No
Update
Link copied to clipboard
fun
BlockPos
.
setBlockStateNoUpdate
(
state
:
BlockState
)
set
Block
State
Silently
Link copied to clipboard
fun
BlockPos
.
setBlockStateSilently
(
state
:
BlockState
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String