- All Known Implementing Classes:
FeatureAbstractTree, FeatureChorusTree, FeatureDarkOakTree, FeatureFallenTree, FeatureHugeJungleTree, FeatureHugePineTree, FeatureHugeSpruceTree, FeatureHugeTree, FeatureJungleTree, FeatureLargeOakTree, FeatureMushroomBrown, FeatureMushroomRed, FeatureNormalTree, FeatureSavannaTree, FeatureSpruceTree, FeatureSwampTree, ReplacingWorldFeature
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Author:
- DaPorkchop_
-
Method Summary
boolean
place(org.cloudburstmc.api.level.ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z)
Tries to place this feature into the given level at the given position.
-
Method Details
-
place
boolean place(org.cloudburstmc.api.level.ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z)
Tries to place this feature into the given level at the given position.
- Parameters:
level - the level to place the feature into
random - an instance of PRandom for generating random numbers
x - the X coordinate to generate the feature at
y - the Y coordinate to generate the feature at
z - the Z coordinate to generate the feature at
- Returns:
- whether or not the feature could be placed