toggle menu
nova-parent
0.17-alpha.34
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.world.block.sound
/
SoundGroup
Sound
Group
data
class
SoundGroup
(
val
volume
:
Float
,
val
pitch
:
Float
,
val
breakSound
:
String
,
val
stepSound
:
String
,
val
placeSound
:
String
,
val
hitSound
:
String
,
val
fallSound
:
String
)
Members
Constructors
Sound
Group
Link copied to clipboard
constructor
(
volume
:
Float
,
pitch
:
Float
,
breakSound
:
String
,
stepSound
:
String
,
placeSound
:
String
,
hitSound
:
String
,
fallSound
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
break
Pitch
Link copied to clipboard
val
breakPitch
:
Float
break
Sound
Link copied to clipboard
val
breakSound
:
String
break
Volume
Link copied to clipboard
val
breakVolume
:
Float
fall
Pitch
Link copied to clipboard
val
fallPitch
:
Float
fall
Sound
Link copied to clipboard
val
fallSound
:
String
fall
Volume
Link copied to clipboard
val
fallVolume
:
Float
hit
Pitch
Link copied to clipboard
val
hitPitch
:
Float
hit
Sound
Link copied to clipboard
val
hitSound
:
String
hit
Volume
Link copied to clipboard
val
hitVolume
:
Float
pitch
Link copied to clipboard
val
pitch
:
Float
place
Pitch
Link copied to clipboard
val
placePitch
:
Float
place
Sound
Link copied to clipboard
val
placeSound
:
String
place
Volume
Link copied to clipboard
val
placeVolume
:
Float
step
Pitch
Link copied to clipboard
val
stepPitch
:
Float
step
Sound
Link copied to clipboard
val
stepSound
:
String
step
Volume
Link copied to clipboard
val
stepVolume
:
Float
volume
Link copied to clipboard
val
volume
:
Float
Functions
play
Break
Sound
Link copied to clipboard
fun
playBreakSound
(
location
:
Location
)
fun
playBreakSound
(
block
:
Block
)
play
Fall
Sound
Link copied to clipboard
fun
playFallSound
(
location
:
Location
)
fun
playFallSound
(
block
:
Block
)
play
Hit
Sound
Link copied to clipboard
fun
playHitSound
(
location
:
Location
)
fun
playHitSound
(
block
:
Block
)
play
Place
Sound
Link copied to clipboard
fun
playPlaceSound
(
location
:
Location
)
fun
playPlaceSound
(
block
:
Block
)
play
Step
Sound
Link copied to clipboard
fun
playStepSound
(
location
:
Location
)
fun
playStepSound
(
block
:
Block
)