パッケージ | 説明 |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.block |
修飾子とタイプ | メソッドと説明 |
---|---|
static Instrument |
Instrument.getByType(byte type)
非推奨です。
Magic value
|
static Instrument |
Instrument.valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Instrument[] |
Instrument.values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
NoteBlock.play(Instrument instrument,
Note note)
Plays an arbitrary note with an arbitrary instrument
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
Player.playNote(Location loc,
Instrument instrument,
Note note)
Play a note for a player at a location.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Instrument |
NotePlayEvent.getInstrument()
Gets the
Instrument to be used. |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
NotePlayEvent.setInstrument(Instrument instrument)
Overrides the
Instrument to be used. |
コンストラクタと説明 |
---|
NotePlayEvent(Block block,
Instrument instrument,
Note note) |
Copyright © 2016. All rights reserved.