Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
|
Public Member Functions | |
BlockProjectileSource | getBlockProjectileSource () |
boolean | dispense () |
![]() | |
Block | getBlock () |
MaterialData | getData () |
Material | getType () |
int | getTypeId () |
byte | getLightLevel () |
World | getWorld () |
int | getX () |
int | getY () |
int | getZ () |
Location | getLocation () |
Location | getLocation (Location loc) |
Chunk | getChunk () |
void | setData (MaterialData data) |
void | setType (Material type) |
boolean | setTypeId (int type) |
boolean | update () |
boolean | update (boolean force) |
boolean | update (boolean force, boolean applyPhysics) |
byte | getRawData () |
void | setRawData (byte data) |
![]() | |
void | setMetadata (String metadataKey, MetadataValue newMetadataValue) |
List< MetadataValue > | getMetadata (String metadataKey) |
boolean | hasMetadata (String metadataKey) |
void | removeMetadata (String metadataKey, Plugin owningPlugin) |
![]() | |
Inventory | getInventory () |
Represents a dispenser.
Definition at line 8 of file block/Dispenser.java.
boolean org.bukkit.block.Dispenser.dispense | ( | ) |
Attempts to dispense the contents of this block.
If the block is no longer a dispenser, this will return false.
BlockProjectileSource org.bukkit.block.Dispenser.getBlockProjectileSource | ( | ) |
Gets the BlockProjectileSource object for this dispenser.
If the block is no longer a dispenser, this will return null.