org.bukkit.block
Interface BrewingStand

All Superinterfaces:
BlockState, ContainerBlock, InventoryHolder, Metadatable

public interface BrewingStand
extends BlockState, ContainerBlock

Represents a brewing stand.


Method Summary
 int getBrewingTime()
          How much time is left in the brewing cycle
 BrewerInventory getInventory()
          Get the object's inventory.
 void setBrewingTime(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, setData, setRawData, setType, setTypeId, update, update
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 

Method Detail

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: InventoryHolder
Get the object's inventory.

Specified by:
getInventory in interface InventoryHolder
Returns:
The inventory.


Copyright © 2013. All Rights Reserved.