Cloneable, DirectionalBlockData.@Deprecated public class Dispenser extends FurnaceAndDispenser
| Constructor | Description | 
|---|---|
| Dispenser() | Deprecated.  | 
| Dispenser(BlockFace direction) | Deprecated.  | 
| Dispenser(Material type) | Deprecated.  | 
| Dispenser(Material type,
         byte data) | Deprecated. 
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Dispenser | clone() | Deprecated.  | 
| BlockFace | getFacing() | Deprecated.  Gets the direction this block is facing | 
| void | setFacingDirection(BlockFace face) | Deprecated.  Sets the direction that this block is facing in | 
toStringequals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Dispenser()
public Dispenser(BlockFace direction)
public Dispenser(Material type)
@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 © 2020. All rights reserved.