public class FeatureHugeSpruceTree extends FeatureHugeTree
| Modifier and Type | Field and Description |
|---|---|
static IntRange |
DEFAULT_HEIGHT |
height, leaves, logAIR, REPLACEABLE| Constructor and Description |
|---|
FeatureHugeSpruceTree(@NonNull IntRange height,
BlockSelector log,
BlockSelector leaves) |
FeatureHugeSpruceTree(@NonNull IntRange height,
@NonNull GenerationTreeSpecies species) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
leafHeightOffset(net.daporkchop.lib.random.PRandom random,
int height) |
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) |
canPlace, finish, place, placeCircularLeafLayer, placeTrunkchooseHeight, selectLeaves, selectLogallNeighborsMatch, allNeighborsMatch, replaceGrassWithDirt, test, testOrLiquid, testOrLiquidpublic static final IntRange DEFAULT_HEIGHT
public FeatureHugeSpruceTree(@NonNull
@NonNull IntRange height,
@NonNull
@NonNull GenerationTreeSpecies species)
public FeatureHugeSpruceTree(@NonNull
@NonNull IntRange height,
BlockSelector log,
BlockSelector leaves)
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)
placeLeaves in class FeatureAbstractTreeprotected int leafHeightOffset(net.daporkchop.lib.random.PRandom random,
int height)
Copyright © 2021. All rights reserved.