From bacfd8931d08751640f562b552894355b220cfed Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 17 Jan 2012 17:11:23 +0100 Subject: [PATCH] [Bleeding] Add BrewingStand API. Thanks N3X15 & md_5 By: Erik Broes --- .../java/org/bukkit/block/BrewingStand.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 paper-api/src/main/java/org/bukkit/block/BrewingStand.java diff --git a/paper-api/src/main/java/org/bukkit/block/BrewingStand.java b/paper-api/src/main/java/org/bukkit/block/BrewingStand.java new file mode 100644 index 0000000000..61b65004f1 --- /dev/null +++ b/paper-api/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); +}