public class JungleTree extends TreeType
leafMaterial, trunkMaterial
Constructor and Description |
---|
JungleTree() |
Modifier and Type | Method and Description |
---|---|
protected void |
maybePlaceLeaves(int x,
int y,
int h,
int r,
float distance,
MinecraftWorld minecraftWorld,
java.util.Random random) |
protected void |
renderBranch(int x,
int y,
int height,
int size,
float angle,
MinecraftWorld world,
java.util.Random random) |
protected void |
renderCanopy(int x,
int y,
int height,
int size,
MinecraftWorld world,
java.util.Random random) |
protected void |
renderCocoaPods(int x,
int y,
int height,
int size,
MinecraftWorld world,
java.util.Random random) |
protected void |
renderCocoaPods(int x,
int y,
int height,
int size,
MinecraftWorld world,
java.util.Random random,
Direction direction) |
void |
renderTree(int x,
int y,
int height,
int strength,
MinecraftWorld world,
Dimension dimension,
java.util.Random random) |
protected void |
renderTrunk(int blockInWorldX,
int blockInWorldY,
int height,
int size,
MinecraftWorld minecraftWorld) |
getCapMaterial, renderVines, renderVines
public void renderTree(int x, int y, int height, int strength, MinecraftWorld world, Dimension dimension, java.util.Random random)
renderTree
in class TreeType
protected void renderTrunk(int blockInWorldX, int blockInWorldY, int height, int size, MinecraftWorld minecraftWorld)
renderTrunk
in class TreeType
protected void renderCanopy(int x, int y, int height, int size, MinecraftWorld world, java.util.Random random)
protected void renderBranch(int x, int y, int height, int size, float angle, MinecraftWorld world, java.util.Random random)
protected void maybePlaceLeaves(int x, int y, int h, int r, float distance, MinecraftWorld minecraftWorld, java.util.Random random)
maybePlaceLeaves
in class TreeType
protected void renderCocoaPods(int x, int y, int height, int size, MinecraftWorld world, java.util.Random random)
protected void renderCocoaPods(int x, int y, int height, int size, MinecraftWorld world, java.util.Random random, Direction direction)