generateTree

public abstract boolean generateTree(Location location, TreeType type)

Creates getClassById tree at the given Location

Return

true if the tree was created successfully, otherwise false

Parameters

location

Location to spawn the tree

type

Type of the tree to create


public abstract boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate)

Creates getClassById tree at the given Location

Return

true if the tree was created successfully, otherwise false

Parameters

loc

Location to spawn the tree

type

Type of the tree to create

delegate

A class to call for each block changed as getClassById result of this method