nbs.js - v7.0.0-alpha1
Preparing search index...
InitializedInstrument
Class InitializedInstrument
Hierarchy (
View Summary
)
Instrument
InitializedInstrument
Index
Methods
from
to
Id
Accessors
DEFAULT_
KEY
DEFAULT_
NAME
DEFAULT_
PRESS_
KEY
DEFAULT_
SOUND_
FILE
does
Press
Key
identifier
key
name
sound
File
Constructors
constructor
Methods
Static
from
from
(
song
:
Song
,
instrument
:
Instrument
)
:
InitializedInstrument
Parameters
song
:
Song
instrument
:
Instrument
Returns
InitializedInstrument
to
Id
toId
()
:
number
Returns
number
Accessors
Static
DEFAULT_
KEY
get
DEFAULT_KEY
()
:
KeyRange
Returns
KeyRange
Static
DEFAULT_
NAME
get
DEFAULT_NAME
()
:
OptionalInstrumentName
Returns
OptionalInstrumentName
Static
DEFAULT_
PRESS_
KEY
get
DEFAULT_PRESS_KEY
()
:
boolean
Returns
boolean
Static
DEFAULT_
SOUND_
FILE
get
DEFAULT_SOUND_FILE
()
:
OptionalInstrumentSoundFile
Returns
OptionalInstrumentSoundFile
does
Press
Key
get
doesPressKey
()
:
boolean
Returns
boolean
set
doesPressKey
(
pressKey
:
boolean
)
:
void
Parameters
pressKey
:
boolean
Returns
void
identifier
get
identifier
()
:
ResourceLocation
Returns
ResourceLocation
key
get
key
()
:
KeyRange
Returns
KeyRange
set
key
(
key
:
UnknownKeyRange
)
:
void
Parameters
key
:
UnknownKeyRange
Returns
void
name
get
name
()
:
OptionalInstrumentName
Returns
OptionalInstrumentName
set
name
(
name
:
OptionalInstrumentName
)
:
void
Parameters
name
:
OptionalInstrumentName
Returns
void
sound
File
get
soundFile
()
:
OptionalInstrumentSoundFile
Returns
OptionalInstrumentSoundFile
set
soundFile
(
soundFile
:
OptionalInstrumentSoundFile
)
:
void
Parameters
soundFile
:
OptionalInstrumentSoundFile
Returns
void
Constructors
constructor
new
InitializedInstrument
(
song
:
Song
,
identifier
:
ResourceLocation
,
)
:
InitializedInstrument
Parameters
song
:
Song
identifier
:
ResourceLocation
Returns
InitializedInstrument
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
from
to
Id
Accessors
DEFAULT_
KEY
DEFAULT_
NAME
DEFAULT_
PRESS_
KEY
DEFAULT_
SOUND_
FILE
does
Press
Key
identifier
key
name
sound
File
Constructors
constructor
nbs.js - v7.0.0-alpha1
Loading...