855f4133b6
By: Erik Broes <erikbroes@grum.nl>
19 lines
398 B
Java
19 lines
398 B
Java
package org.bukkit.block;
|
|
|
|
/**
|
|
* Represents a dispenser.
|
|
*
|
|
* @author sk89q
|
|
*/
|
|
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();
|
|
}
|