429eb80d6e
By: Nathan Adams <dinnerbone@dinnerbone.com>
17 lines
378 B
Java
17 lines
378 B
Java
package org.bukkit.block;
|
|
|
|
/**
|
|
* Represents a dispenser.
|
|
*/
|
|
public interface Dispenser extends BlockState, ContainerBlock {
|
|
|
|
/**
|
|
* Attempts to dispense the contents of this block<br />
|
|
* <br />
|
|
* If the block is no longer a dispenser, this will return false
|
|
*
|
|
* @return true if successful, otherwise false
|
|
*/
|
|
public boolean dispense();
|
|
}
|