public class WorldGeneratorUndeadTree
extends net.minecraft.world.gen.feature.WorldGenerator
| Constructor and Description |
|---|
WorldGeneratorUndeadTree()
Make a new instance.
|
WorldGeneratorUndeadTree(boolean doNotify,
net.minecraft.block.Block sapling)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(net.minecraft.world.World world,
java.util.Random rand,
int x,
int retries,
int z) |
boolean |
growTree(net.minecraft.world.World world,
java.util.Random rand,
int x,
int y,
int z)
Grow an Undead Tree at the given location.
|
public WorldGeneratorUndeadTree()
public WorldGeneratorUndeadTree(boolean doNotify,
net.minecraft.block.Block sapling)
doNotify - If the generator should notify the world.sapling - The sapling for this tree.public boolean generate(net.minecraft.world.World world,
java.util.Random rand,
int x,
int retries,
int z)
generate in class net.minecraft.world.gen.feature.WorldGeneratorpublic boolean growTree(net.minecraft.world.World world,
java.util.Random rand,
int x,
int y,
int z)
world - The world.rand - Random object.x - X coordinate.y - Y coordinate.z - Z coordinate.