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,
net.minecraft.util.BlockPos blockPos) |
boolean |
growTree(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.BlockPos blockPos)
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,
net.minecraft.util.BlockPos blockPos)
generate in class net.minecraft.world.gen.feature.WorldGeneratorpublic boolean growTree(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.BlockPos blockPos)
world - The world.rand - Random object.blockPos - The position.