public class TallRedwoodTree extends RedwoodTree
leavesHeight, maxRadius
delegate, height, leavesType, logType, overridables
PLANT_TYPES
Constructor and Description |
---|
TallRedwoodTree(Random random,
BlockStateDelegate delegate)
Initializes this tree with a random height and radius, preparing it to attempt to generate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
generate(org.bukkit.World world,
Random random,
int blockX,
int blockY,
int blockZ)
Generates this feature.
|
canPlace, setLeavesHeight, setMaxRadius
blockTypeAt, canHeightFit, cannotGenerateAt, canPlaceOn, generate, replaceIfAirOrLeaves, setHeight, setOverridables, setTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
killPlantAbove
public TallRedwoodTree(Random random, BlockStateDelegate delegate)
random
- the PRNGdelegate
- the BlockStateDelegate used to check for space and to fill wood andpublic boolean generate(org.bukkit.World world, Random random, int blockX, int blockY, int blockZ)
TerrainObject
generate
in interface TerrainObject
generate
in class RedwoodTree
world
- the world to generate inrandom
- the PRNG that will choose the size and a few details of the shapeblockX
- the base X coordinateblockY
- the base Y coordinateblockZ
- the base Z coordinateCopyright © 2021. All rights reserved.