Package org.bukkit.material
Class SimpleAttachableMaterialData
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
- All Implemented Interfaces:
Cloneable
,Attachable
,Directional
@Deprecated public abstract class SimpleAttachableMaterialData extends MaterialData implements Attachable
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData
.Simple utility class for attachable MaterialData subclasses
-
Constructor Summary
Constructors Constructor Description SimpleAttachableMaterialData(Material type)
Deprecated.SimpleAttachableMaterialData(Material type, byte data)
Deprecated.Magic valueSimpleAttachableMaterialData(Material type, BlockFace direction)
Deprecated. -
Method Summary
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
SimpleAttachableMaterialData
Deprecated. -
SimpleAttachableMaterialData
Deprecated. -
SimpleAttachableMaterialData
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getFacing
Deprecated.Description copied from interface:Directional
Gets the direction this block is facing- Specified by:
getFacing
in interfaceDirectional
- Returns:
- the direction this block is facing
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-