mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-19 12:56:30 +00:00
[Bleeding] Add BrewingStand API. Thanks N3X15 & md_5
This commit is contained in:
parent
418d18831c
commit
c2e82a68c1
1 changed files with 21 additions and 0 deletions
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…
Add table
Reference in a new issue