Package | Description |
---|---|
net.tridentsdk.base |
This package contains basic elements in Minecraft, such as blocks, orientation, directions, instruments, and sounds
|
net.tridentsdk.event.block |
Block-based events, called when a block is affected in an event
|
Modifier and Type | Method and Description |
---|---|
static Instrument |
Instrument.fromByte(byte b)
Resolves the Instrument from its respective Byte value
|
static Instrument |
Instrument.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instrument[] |
Instrument.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Instrument |
NotePlayEvent.instrument()
Get the Instrument being used to play the Note
|
Modifier and Type | Method and Description |
---|---|
void |
NotePlayEvent.setInstrument(Instrument instrument)
Set the Instrument to play the Note
|
Constructor and Description |
---|
NotePlayEvent(Block block,
List<Player> players,
Note note,
Instrument instrument) |
Copyright © 2016. All rights reserved.