org.bukkit.material
Class DirectionalContainer
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.DirectionalContainer
- All Implemented Interfaces:
- Cloneable, Directional
- Direct Known Subclasses:
- Chest, EnderChest, FurnaceAndDispenser
public class DirectionalContainer
- extends MaterialData
- implements Directional
Represents a furnace or a dispenser.
DirectionalContainer
public DirectionalContainer(int type)
DirectionalContainer
public DirectionalContainer(Material type)
DirectionalContainer
public DirectionalContainer(int type,
byte data)
DirectionalContainer
public DirectionalContainer(Material type,
byte data)
setFacingDirection
public void setFacingDirection(BlockFace face)
- Description copied from interface:
Directional
- Sets the direction that this block is facing in
- Specified by:
setFacingDirection
in interface Directional
- Parameters:
face
- The facing direction
getFacing
public BlockFace getFacing()
- Description copied from interface:
Directional
- Gets the direction this block is facing
- Specified by:
getFacing
in interface Directional
- Returns:
- the direction this block is facing
toString
public String toString()
- Overrides:
toString
in class MaterialData
clone
public DirectionalContainer clone()
- Overrides:
clone
in class MaterialData
Copyright © 2013. All Rights Reserved.