Class SimpleAttachableMaterialData
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
- All Implemented Interfaces:
Cloneable, Attachable, Directional
@Deprecated(since="1.14.1")
public abstract class SimpleAttachableMaterialData
extends MaterialData
implements Attachable
Deprecated.
Simple utility class for attachable MaterialData subclasses
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.SimpleAttachableMaterialData(Material type, byte data) Deprecated.Magic valueSimpleAttachableMaterialData(Material type, BlockFace direction) Deprecated. -
Method Summary
Methods inherited from class MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackMethods inherited from interface Attachable
getAttachedFaceMethods inherited from interface Directional
setFacingDirection
-
Constructor Details
-
SimpleAttachableMaterialData
-
SimpleAttachableMaterialData
Deprecated. -
SimpleAttachableMaterialData
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Details
-
getFacing
Deprecated.Description copied from interface:DirectionalGets the direction this block is facing- Specified by:
getFacingin interfaceDirectional- Returns:
- the direction this block is facing
-
toString
-
clone
-
BlockData.