SimpleAttachableMaterialData

public abstract class SimpleAttachableMaterialData extends MaterialData implements Attachable

Simple utility class for attachable MaterialData subclasses

Inheritors

Constructors

Link copied to clipboard
public void SimpleAttachableMaterialData(int type, BlockFace direction)
public void SimpleAttachableMaterialData(Material type, BlockFace direction)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public abstract BlockFace getAttachedFace()
Gets the face that this block is attached on
Link copied to clipboard
Gets the direction this block is facing
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public abstract void setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()