Instrument
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
Getter
Gets the command string of the Instrument.
Return Type:
string
Getter
Gets the range of the Instrument.
Return Type:
float
Getter
Gets the registry name of the Instrument.
Return Type:
ResourceLocation
Getter
Gets the sound event of the Instrument.
Return Type:
SoundEvent
Getter
Gets the use duration of the Instrument.
Return Type:
int