public class TreeFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
TreeFeatureConfig.Builder |
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<TreeFeatureConfig> |
CODEC |
List<TreeDecorator> |
decorators |
FoliagePlacer |
foliagePlacer |
Heightmap.Type |
heightmap |
boolean |
ignoreVines |
BlockStateProvider |
leavesProvider |
int |
maxWaterDepth |
FeatureSize |
minimumSize |
boolean |
skipFluidCheck |
TrunkPlacer |
trunkPlacer |
BlockStateProvider |
trunkProvider |
DEFAULT
Modifier | Constructor and Description |
---|---|
protected |
TreeFeatureConfig(BlockStateProvider trunkProvider,
BlockStateProvider leavesProvider,
FoliagePlacer foliagePlacer,
TrunkPlacer trunkPlacer,
FeatureSize minimumSize,
List<TreeDecorator> decorators,
int maxWaterDepth,
boolean ignoreVines,
Heightmap.Type heightmap) |
Modifier and Type | Method and Description |
---|---|
void |
ignoreFluidCheck() |
TreeFeatureConfig |
setTreeDecorators(List<TreeDecorator> decorators) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_30649
public static final com.mojang.serialization.Codec<TreeFeatureConfig> CODEC
public final BlockStateProvider trunkProvider
public final BlockStateProvider leavesProvider
public final List<TreeDecorator> decorators
public transient boolean skipFluidCheck
public final FoliagePlacer foliagePlacer
public final TrunkPlacer trunkPlacer
public final FeatureSize minimumSize
public final int maxWaterDepth
public final boolean ignoreVines
public final Heightmap.Type heightmap
protected TreeFeatureConfig(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, int maxWaterDepth, boolean ignoreVines, Heightmap.Type heightmap)
public void ignoreFluidCheck()
public TreeFeatureConfig setTreeDecorators(List<TreeDecorator> decorators)