public class Dispenser extends FurnaceAndDispenser
| Constructor and Description | 
|---|
| Dispenser() | 
| Dispenser(BlockFace direction) | 
| Dispenser(int type)Deprecated. 
 Magic value | 
| Dispenser(int type,
         byte data)Deprecated. 
 Magic value | 
| Dispenser(Material type) | 
| Dispenser(Material type,
         byte data)Deprecated. 
 Magic value | 
| Modifier and Type | Method and Description | 
|---|---|
| Dispenser | clone() | 
| BlockFace | getFacing()Gets the direction this block is facing | 
| void | setFacingDirection(BlockFace face)Sets the direction that this block is facing in | 
toStringequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Dispenser()
public Dispenser(BlockFace direction)
@Deprecated public Dispenser(int type)
type - the raw type idpublic Dispenser(Material type)
@Deprecated public Dispenser(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public Dispenser(Material type, byte data)
type - the typedata - the raw data valuepublic void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection in interface DirectionalsetFacingDirection in class DirectionalContainerface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing in interface DirectionalgetFacing in class DirectionalContainerpublic Dispenser clone()
clone in class FurnaceAndDispenserCopyright © 2016. All rights reserved.