[Bleeding] Add BrewingStand API. Thanks N3X15 & md_5
This commit is contained in:
parent
418d18831c
commit
c2e82a68c1
21
src/main/java/org/bukkit/block/BrewingStand.java
Normal file
21
src/main/java/org/bukkit/block/BrewingStand.java
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package org.bukkit.block;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a brewing stand.
|
||||||
|
*/
|
||||||
|
public interface BrewingStand extends BlockState, ContainerBlock {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* How much time is left in the brewing cycle
|
||||||
|
*
|
||||||
|
* @return Brew Time
|
||||||
|
*/
|
||||||
|
int getBrewingTime();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the time left before brewing completes.
|
||||||
|
*
|
||||||
|
* @param brewTime Brewing time
|
||||||
|
*/
|
||||||
|
void setBrewingTime(int brewTime);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user