PistonExtensionMaterial

public class PistonExtensionMaterial extends MaterialData implements Attachable

Material data for the piston extension block

Constructors

Link copied to clipboard
public void PistonExtensionMaterial(Material type)

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
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 boolean isSticky()
Checks if this piston extension is sticky, and returns true if so
Link copied to clipboard
public void setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
Link copied to clipboard
public void setSticky(boolean sticky)
Sets whether or not this extension is sticky
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()