Package org.bukkit.block
Interface BrewingStand
- All Superinterfaces:
BlockState,ContainerBlock,InventoryHolder,Metadatable
public interface BrewingStand extends BlockState, ContainerBlock
Represents a brewing stand.
-
Method Summary
Modifier and Type Method Description intgetBrewingTime()How much time is left in the brewing cycleBrewerInventorygetInventory()Get the object's inventory.voidsetBrewingTime(int brewTime)Set the time left before brewing completes.Methods inherited from interface org.bukkit.block.BlockState
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, updateMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
-
Method Details
-
getBrewingTime
int getBrewingTime()How much time is left in the brewing cycle- Returns:
- Brew Time
-
setBrewingTime
void setBrewingTime(int brewTime)Set the time left before brewing completes.- Parameters:
brewTime- Brewing time
-
getInventory
BrewerInventory getInventory()Description copied from interface:InventoryHolderGet the object's inventory.- Specified by:
getInventoryin interfaceInventoryHolder- Returns:
- The inventory.
-