Package org.bukkit.material
Class SimpleAttachableMaterialData
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
- All Implemented Interfaces:
Cloneable
,Attachable
,Directional
@Deprecated(since="1.13",
forRemoval=true)
public abstract class SimpleAttachableMaterialData
extends MaterialData
implements Attachable
Deprecated, for removal: This API element is subject to removal in a future version.
Simple utility class for attachable MaterialData subclasses
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.SimpleAttachableMaterialData
(Material type, byte data) Deprecated.Magic valueSimpleAttachableMaterialData
(Material type, BlockFace direction) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets the direction this block is facingtoString()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bukkit.material.Attachable
getAttachedFace
Methods inherited from interface org.bukkit.material.Directional
setFacingDirection
-
Constructor Details
-
SimpleAttachableMaterialData
Deprecated, for removal: This API element is subject to removal in a future version. -
SimpleAttachableMaterialData
Deprecated, for removal: This API element is subject to removal in a future version. -
SimpleAttachableMaterialData
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getFacing
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
BlockData
.