Class BigTree
java.lang.Object
net.glowstone.generator.objects.trees.GenericTree
net.glowstone.generator.objects.trees.BigOakTree
net.glowstone.generator.objects.trees.BigTree
- All Implemented Interfaces:
TerrainObject
-
Field Summary
Fields inherited from class net.glowstone.generator.objects.trees.GenericTree
delegate, height, LEAF_TYPES, leavesType, logType, overridables
Fields inherited from interface net.glowstone.generator.objects.TerrainObject
PLANT_TYPES
-
Constructor Summary
ConstructorsConstructorDescriptionBigTree
(Random random, BlockStateDelegate delegate) Initializes this tree with a random height, preparing it to attempt to generate. -
Method Summary
Methods inherited from class net.glowstone.generator.objects.trees.BigOakTree
canPlace, generate, setMaxLeafDistance
Methods inherited from class net.glowstone.generator.objects.trees.GenericTree
blockTypeAt, canHeightFit, cannotGenerateAt, canPlaceOn, generate, replaceIfAirOrLeaves, setHeight, setOverridables, setTypes
-
Constructor Details
-
BigTree
Initializes this tree with a random height, preparing it to attempt to generate.- Parameters:
random
- the PRNGdelegate
- the BlockStateDelegate used to check for space and to fill wood and leaf blocks
-