package org.bukkit.block; /** * Represents a dispenser. * * @author sk89q */ public interface Dispenser extends BlockState, ContainerBlock { /** * Attempts to dispense the contents of this block
*
* If the block is no longer a dispenser, this will return false * * @return true if successful, otherwise false */ public boolean dispense(); }