Package org.bukkit.material
Class Dispenser
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.DirectionalContainer
org.bukkit.material.FurnaceAndDispenser
org.bukkit.material.Dispenser
- All Implemented Interfaces:
java.lang.Cloneable
,Directional
public class Dispenser extends FurnaceAndDispenser
Represents a dispenser.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Dispenser
public Dispenser() -
Dispenser
-
Dispenser
@Deprecated public Dispenser(int type)Deprecated.Magic value- Parameters:
type
- the raw type id
-
Dispenser
-
Dispenser
@Deprecated public Dispenser(int type, byte data)Deprecated.Magic value- Parameters:
type
- the raw type iddata
- the raw data value
-
Dispenser
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
setFacingDirection
Description copied from interface:Directional
Sets the direction that this block is facing in- Specified by:
setFacingDirection
in interfaceDirectional
- Overrides:
setFacingDirection
in classDirectionalContainer
- Parameters:
face
- The facing direction
-
getFacing
Description copied from interface:Directional
Gets the direction this block is facing- Specified by:
getFacing
in interfaceDirectional
- Overrides:
getFacing
in classDirectionalContainer
- Returns:
- the direction this block is facing
-
clone
- Overrides:
clone
in classFurnaceAndDispenser
-