geforkt von Mirrors/Paper
[Bleeding] Add BrewingStand API. Thanks N3X15 & md_5
By: Erik Broes <erikbroes@grum.nl>
Dieser Commit ist enthalten in:
Ursprung
52bcc1c28e
Commit
bacfd8931d
21
paper-api/src/main/java/org/bukkit/block/BrewingStand.java
Normale Datei
21
paper-api/src/main/java/org/bukkit/block/BrewingStand.java
Normale Datei
@ -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);
|
||||
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren