nbs.js - v7.0.0-alpha1
Preparing search index...
MinecraftInstrument
Class MinecraftInstrument
Hierarchy (
View Summary
)
Instrument
MinecraftInstrument
Index
Methods
check
Mutable
make
Immutable
to
Id
Accessors
DEFAULT_
IMMUTABLE
DEFAULT_
KEY
DEFAULT_
NAME
DEFAULT_
PRESS_
KEY
DEFAULT_
SOUND_
FILE
DEFAULT_
SUPPORTED_
VERSION
does
Press
Key
identifier
is
Immutable
key
name
sound
File
supported
Version
Constructors
constructor
Methods
check
Mutable
checkMutable
()
:
Result
Returns
Result
make
Immutable
makeImmutable
()
:
void
Returns
void
to
Id
toId
()
:
number
Returns
number
Accessors
Static
DEFAULT_
IMMUTABLE
get
DEFAULT_IMMUTABLE
()
:
boolean
Returns
boolean
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
Static
DEFAULT_
SUPPORTED_
VERSION
get
DEFAULT_SUPPORTED_VERSION
()
:
0
|
1
|
2
|
3
|
4
|
5
|
6
Returns
0
|
1
|
2
|
3
|
4
|
5
|
6
does
Press
Key
get
doesPressKey
()
:
boolean
Returns
boolean
set
doesPressKey
(
pressKey
:
boolean
)
:
void
Parameters
pressKey
:
boolean
Returns
void
identifier
get
identifier
()
:
ResourceLocation
Returns
ResourceLocation
is
Immutable
get
isImmutable
()
:
boolean
Returns
boolean
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
supported
Version
get
supportedVersion
()
:
0
|
1
|
2
|
3
|
4
|
5
|
6
Returns
0
|
1
|
2
|
3
|
4
|
5
|
6
set
supportedVersion
(
supportedVersion
:
UnknownSupportedVersionRange
)
:
void
Parameters
supportedVersion
:
UnknownSupportedVersionRange
Returns
void
Constructors
constructor
new
MinecraftInstrument
(
identifier
:
ResourceLocation
)
:
MinecraftInstrument
Parameters
identifier
:
ResourceLocation
Returns
MinecraftInstrument
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
check
Mutable
make
Immutable
to
Id
Accessors
DEFAULT_
IMMUTABLE
DEFAULT_
KEY
DEFAULT_
NAME
DEFAULT_
PRESS_
KEY
DEFAULT_
SOUND_
FILE
DEFAULT_
SUPPORTED_
VERSION
does
Press
Key
identifier
is
Immutable
key
name
sound
File
supported
Version
Constructors
constructor
nbs.js - v7.0.0-alpha1
Loading...