org.bukkit.material
Class SimpleAttachableMaterialData
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
- All Implemented Interfaces:
- Cloneable, Attachable, Directional
- Direct Known Subclasses:
- Button, Ladder, Lever, Torch, TrapDoor, TripwireHook
public abstract class SimpleAttachableMaterialData
- extends MaterialData
- implements Attachable
Simple utility class for attachable MaterialData subclasses
SimpleAttachableMaterialData
@Deprecated
public SimpleAttachableMaterialData(int type)
- Deprecated. Magic value
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(int type,
BlockFace direction)
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(Material type,
BlockFace direction)
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(Material type)
SimpleAttachableMaterialData
@Deprecated
public SimpleAttachableMaterialData(int type,
byte data)
- Deprecated. Magic value
SimpleAttachableMaterialData
@Deprecated
public SimpleAttachableMaterialData(Material type,
byte data)
- Deprecated. Magic value
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 SimpleAttachableMaterialData clone()
- Overrides:
clone
in class MaterialData
Copyright © 2013. All Rights Reserved.