|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.DirectionalContainer
org.bukkit.material.FurnaceAndDispenser
org.bukkit.material.Dispenser
public class Dispenser
Represents a dispenser.
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
Dispenser |
clone()
|
BlockFace |
getFacing()
Gets the direction this block is facing |
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in |
| Methods inherited from class org.bukkit.material.DirectionalContainer |
|---|
toString |
| Methods inherited from class org.bukkit.material.MaterialData |
|---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Dispenser()
public Dispenser(BlockFace direction)
@Deprecated public Dispenser(int type)
public Dispenser(Material type)
@Deprecated
public Dispenser(int type,
byte data)
@Deprecated
public Dispenser(Material type,
byte data)
| Method Detail |
|---|
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection in interface DirectionalsetFacingDirection in class DirectionalContainerface - The facing directionpublic BlockFace getFacing()
Directional
getFacing in interface DirectionalgetFacing in class DirectionalContainerpublic Dispenser clone()
clone in class FurnaceAndDispenser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||