public class BigOakTree extends GenericTree
delegate, height, leavesType, logType, overridablesPLANT_TYPES| Constructor and Description |
|---|
BigOakTree(Random random,
BlockStateDelegate delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlace(int baseX,
int baseY,
int baseZ,
org.bukkit.World world)
Checks whether this tree has enough space to grow.
|
boolean |
generate(org.bukkit.World world,
Random random,
int blockX,
int blockY,
int blockZ)
Generates this feature.
|
void |
setMaxLeafDistance(int distance) |
blockTypeAt, canHeightFit, cannotGenerateAt, canPlaceOn, generate, replaceIfAirOrLeaves, setHeight, setOverridables, setTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkillPlantAbovepublic BigOakTree(Random random, BlockStateDelegate delegate)
public final void setMaxLeafDistance(int distance)
public boolean canPlace(int baseX,
int baseY,
int baseZ,
org.bukkit.World world)
GenericTreecanPlace in class GenericTreebaseX - the X coordinate of the base of the trunkbaseY - the Y coordinate of the base of the trunkbaseZ - the Z coordinate of the base of the trunkworld - the world to grow inpublic boolean generate(org.bukkit.World world,
Random random,
int blockX,
int blockY,
int blockZ)
TerrainObjectgenerate in interface TerrainObjectgenerate in class GenericTreeworld - 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.