summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/block/Dispenser.java
blob: 5df5b19e9970d7682307b731313921f1ef0b814d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
}