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

@Deprecated(since="1.14.1") 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 Details

    • SimpleAttachableMaterialData

      public SimpleAttachableMaterialData(Material type, BlockFace direction)
      Deprecated.
    • SimpleAttachableMaterialData

      public SimpleAttachableMaterialData(Material type)
      Deprecated.
    • SimpleAttachableMaterialData

      @Deprecated(since="1.6.2") public SimpleAttachableMaterialData(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details