Class FeatureHugeJungleTree
java.lang.Object
org.cloudburstmc.server.level.feature.ReplacingWorldFeature
org.cloudburstmc.server.level.feature.tree.FeatureAbstractTree
org.cloudburstmc.server.level.feature.tree.FeatureHugeTree
org.cloudburstmc.server.level.feature.tree.FeatureHugeJungleTree
- All Implemented Interfaces:
Predicate<org.cloudburstmc.api.block.BlockState>,WorldFeature,BlockFilter
Generates a huge jungle tree.
- Author:
- DaPorkchop_
-
Field Summary
FieldsFields inherited from class org.cloudburstmc.server.level.feature.tree.FeatureAbstractTree
height, leaves, logFields inherited from interface org.cloudburstmc.server.level.generator.standard.misc.filter.BlockFilter
AIR, REPLACEABLE -
Constructor Summary
ConstructorsConstructorDescriptionFeatureHugeJungleTree(@NonNull IntRange height, @NonNull GenerationTreeSpecies species)FeatureHugeJungleTree(@NonNull IntRange height, BlockSelector log, BlockSelector leaves) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidplaceLeaves(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)protected voidplaceTrunk(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)protected voidplaceVines(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, org.cloudburstmc.api.util.Direction face)Methods inherited from class org.cloudburstmc.server.level.feature.tree.FeatureHugeTree
canPlace, finish, place, placeCircularLeafLayerMethods inherited from class org.cloudburstmc.server.level.feature.tree.FeatureAbstractTree
chooseHeight, selectLeaves, selectLogMethods inherited from class org.cloudburstmc.server.level.feature.ReplacingWorldFeature
allNeighborsMatch, allNeighborsMatch, replaceGrassWithDirt, test, testOrLiquid, testOrLiquid
-
Field Details
-
DEFAULT_HEIGHT
-
-
Constructor Details
-
FeatureHugeJungleTree
public FeatureHugeJungleTree(@NonNull @NonNull IntRange height, @NonNull @NonNull GenerationTreeSpecies species) -
FeatureHugeJungleTree
public FeatureHugeJungleTree(@NonNull @NonNull IntRange height, BlockSelector log, BlockSelector leaves)
-
-
Method Details
-
placeLeaves
protected void placeLeaves(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)- Specified by:
placeLeavesin classFeatureAbstractTree
-
placeTrunk
protected void placeTrunk(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)- Overrides:
placeTrunkin classFeatureHugeTree
-
placeVines
protected void placeVines(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, org.cloudburstmc.api.util.Direction face)
-