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
public SimpleAttachableMaterialData(int type)
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(int type,
BlockFace direction)
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(Material type,
BlockFace direction)
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(Material type)
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(int type,
byte data)
SimpleAttachableMaterialData
public SimpleAttachableMaterialData(Material type,
byte data)
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.