Tree

public class Tree extends MaterialData

Represents the different types of Trees.

Constructors

Link copied to clipboard
public void Tree()
public void Tree(TreeSpecies species)
public void Tree(TreeSpecies species, BlockFace dir)
public void Tree(Material type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Tree clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Get direction of the log
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
Gets the current species of this tree
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public void setDirection(BlockFace dir)
Set direction of the log
Link copied to clipboard
public void setSpecies(TreeSpecies species)
Sets the species of this tree
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()