summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/block/BrewingStand.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/block/BrewingStand.java b/src/main/java/org/bukkit/block/BrewingStand.java
new file mode 100644
index 00000000..61b65004
--- /dev/null
+++ b/src/main/java/org/bukkit/block/BrewingStand.java
@@ -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);
+}