Leaves

public class Leaves extends MaterialData

Represents the different types of leaves.

Constructors

Link copied to clipboard
public void Leaves()
public void Leaves(TreeSpecies species)
public void Leaves(Material type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Leaves clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
Gets the current species of this leave
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public void setSpecies(TreeSpecies species)
Sets the species of this leave
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()