Package btw.world.feature.trees.grower
Class TreeGrowerForest
java.lang.Object
api.world.feature.TreeGrower
btw.world.feature.trees.grower.TreeGrowerForest
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanintintintintintintintint -
Constructor Summary
ConstructorsConstructorDescriptionTreeGrowerForest(int minTreeHeight, int maxTreeHeight, int woodBlockID, int woodMetadata, int stumpBlockID, int stumpMetadata, int leavesBlockID, int leavesMetadata, boolean growVines, boolean growCocoa) -
Method Summary
Methods inherited from class api.world.feature.TreeGrower
setBlock, setBlockAndMetadata
-
Field Details
-
minTreeHeight
public int minTreeHeight -
maxTreeHeight
public int maxTreeHeight -
woodBlockID
public int woodBlockID -
woodMetadata
public int woodMetadata -
stumpBlockID
public int stumpBlockID -
stumpMetadata
public int stumpMetadata -
leavesBlockID
public int leavesBlockID -
leavesMetadata
public int leavesMetadata -
growVines
public boolean growVines -
growCocoa
public boolean growCocoa
-
-
Constructor Details
-
TreeGrowerForest
public TreeGrowerForest(int minTreeHeight, int maxTreeHeight, int woodBlockID, int woodMetadata, int stumpBlockID, int stumpMetadata, int leavesBlockID, int leavesMetadata, boolean growVines, boolean growCocoa)
-
-
Method Details
-
generate
-
growTree
Description copied from class:TreeGrowerGrow a tree at the specified location- Specified by:
growTreein classTreeGrowerisWorldGen- Whether block updates should be triggered when growing the tree. This should be true when grown from a sapling and false when generated at world gen- Returns:
-