mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
[Bleeding] Add BrewingStand API. Thanks N3X15 & md_5
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
52bcc1c28e
commit
bacfd8931d
1 changed files with 21 additions and 0 deletions
21
paper-api/src/main/java/org/bukkit/block/BrewingStand.java
Normal file
21
paper-api/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…
Reference in a new issue