public class FeatureDarkOakTree extends FeatureHugeTree
| Modifier and Type | Field and Description |
|---|---|
static IntRange |
DEFAULT_HEIGHT |
height, leaves, logAIR, REPLACEABLE| Constructor and Description |
|---|
FeatureDarkOakTree(@NonNull IntRange height,
BlockSelector log,
BlockSelector leaves) |
FeatureDarkOakTree(@NonNull IntRange height,
@NonNull GenerationTreeSpecies species) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canPlace(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height) |
protected void |
finish(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height,
BlockState log,
BlockState leaves) |
protected void |
placeLeaves(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height,
BlockState log,
BlockState leaves) |
protected void |
placeTrunk(ChunkManager level,
net.daporkchop.lib.random.PRandom random,
int x,
int y,
int z,
int height,
BlockState log,
BlockState leaves) |
place, placeCircularLeafLayerchooseHeight, selectLeaves, selectLogallNeighborsMatch, allNeighborsMatch, replaceGrassWithDirt, test, testOrLiquid, testOrLiquidpublic static final IntRange DEFAULT_HEIGHT
public FeatureDarkOakTree(@NonNull
@NonNull IntRange height,
@NonNull
@NonNull GenerationTreeSpecies species)
public FeatureDarkOakTree(@NonNull
@NonNull IntRange height,
BlockSelector log,
BlockSelector leaves)
protected boolean canPlace(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)
canPlace in class FeatureHugeTreeprotected void placeLeaves(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, BlockState log, BlockState leaves)
placeLeaves in class FeatureAbstractTreeprotected void placeTrunk(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, BlockState log, BlockState leaves)
placeTrunk in class FeatureHugeTreeprotected void finish(ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, BlockState log, BlockState leaves)
finish in class FeatureHugeTreeCopyright © 2020. All rights reserved.