@@ -2,15 +2,16 @@ 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();
|
||||
|
||||
Reference in New Issue
Block a user