| Package | Description |
|---|---|
| net.minecraft.block | |
| net.minecraft.state.properties | |
| net.minecraftforge.event.world |
| Modifier and Type | Field and Description |
|---|---|
static EnumProperty<NoteBlockInstrument> |
NoteBlock.INSTRUMENT |
| Modifier and Type | Field and Description |
|---|---|
static EnumProperty<NoteBlockInstrument> |
BlockStateProperties.NOTE_BLOCK_INSTRUMENT |
| Modifier and Type | Method and Description |
|---|---|
static NoteBlockInstrument |
NoteBlockInstrument.byState(BlockState p_208087_0_) |
static NoteBlockInstrument |
NoteBlockInstrument.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NoteBlockInstrument[] |
NoteBlockInstrument.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
private NoteBlockInstrument |
NoteBlockEvent.Play.instrument |
| Modifier and Type | Method and Description |
|---|---|
NoteBlockInstrument |
NoteBlockEvent.Play.getInstrument() |
| Modifier and Type | Method and Description |
|---|---|
void |
NoteBlockEvent.Play.setInstrument(NoteBlockInstrument instrument) |
| Constructor and Description |
|---|
Play(World world,
BlockPos pos,
BlockState state,
int note,
NoteBlockInstrument instrument) |