Package net.minecraft.world.gen.feature
Class TreeFeatureConfig
java.lang.Object
net.minecraft.world.gen.feature.TreeFeatureConfig
- All Implemented Interfaces:
FeatureConfig
public class TreeFeatureConfig extends Object implements FeatureConfig
- Mappings:
Namespace Name official csn
intermediary net/minecraft/class_4643
named net/minecraft/world/gen/feature/TreeFeatureConfig
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TreeFeatureConfig.Builder
-
Field Summary
Fields Modifier and Type Field 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
Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT
-
Constructor Summary
Constructors Modifier Constructor Description protected
TreeFeatureConfig(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, int maxWaterDepth, boolean ignoreVines, Heightmap.Type heightmap)
-
Method Summary
Modifier and Type Method Description void
ignoreFluidCheck()
TreeFeatureConfig
setTreeDecorators(List<TreeDecorator> decorators)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.feature.FeatureConfig
method_30649
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcsn;a:Lcom/mojang/serialization/Codec;
intermediary field_24921
Lnet/minecraft/class_4643;field_24921:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
-
trunkProvider
- Mappings:
Namespace Name Mixin selector official b
Lcsn;b:Lcth;
intermediary field_21288
Lnet/minecraft/class_4643;field_21288:Lnet/minecraft/class_4651;
named trunkProvider
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;trunkProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
-
leavesProvider
- Mappings:
Namespace Name Mixin selector official c
Lcsn;c:Lcth;
intermediary field_21289
Lnet/minecraft/class_4643;field_21289:Lnet/minecraft/class_4651;
named leavesProvider
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;leavesProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
-
decorators
- Mappings:
Namespace Name Mixin selector official d
Lcsn;d:Ljava/util/List;
intermediary field_21290
Lnet/minecraft/class_4643;field_21290:Ljava/util/List;
named decorators
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;decorators:Ljava/util/List;
-
skipFluidCheck
public transient boolean skipFluidCheck- Mappings:
Namespace Name Mixin selector official e
Lcsn;e:Z
intermediary field_21593
Lnet/minecraft/class_4643;field_21593:Z
named skipFluidCheck
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;skipFluidCheck:Z
-
foliagePlacer
- Mappings:
Namespace Name Mixin selector official f
Lcsn;f:Lcsz;
intermediary field_24135
Lnet/minecraft/class_4643;field_24135:Lnet/minecraft/class_4647;
named foliagePlacer
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;foliagePlacer:Lnet/minecraft/world/gen/foliage/FoliagePlacer;
-
trunkPlacer
- Mappings:
Namespace Name Mixin selector official g
Lcsn;g:Lcuo;
intermediary field_24136
Lnet/minecraft/class_4643;field_24136:Lnet/minecraft/class_5141;
named trunkPlacer
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;trunkPlacer:Lnet/minecraft/world/gen/trunk/TrunkPlacer;
-
minimumSize
- Mappings:
Namespace Name Mixin selector official h
Lcsn;h:Lcsp;
intermediary field_24137
Lnet/minecraft/class_4643;field_24137:Lnet/minecraft/class_5201;
named minimumSize
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;minimumSize:Lnet/minecraft/world/gen/feature/size/FeatureSize;
-
maxWaterDepth
public final int maxWaterDepth- Mappings:
Namespace Name Mixin selector official i
Lcsn;i:I
intermediary field_21291
Lnet/minecraft/class_4643;field_21291:I
named maxWaterDepth
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;maxWaterDepth:I
-
ignoreVines
public final boolean ignoreVines- Mappings:
Namespace Name Mixin selector official j
Lcsn;j:Z
intermediary field_24138
Lnet/minecraft/class_4643;field_24138:Z
named ignoreVines
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;ignoreVines:Z
-
heightmap
- Mappings:
Namespace Name Mixin selector official k
Lcsn;k:Lcmm$a;
intermediary field_24139
Lnet/minecraft/class_4643;field_24139:Lnet/minecraft/class_2902$class_2903;
named heightmap
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;heightmap:Lnet/minecraft/world/Heightmap$Type;
-
-
Constructor Details
-
TreeFeatureConfig
protected TreeFeatureConfig(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, int maxWaterDepth, boolean ignoreVines, Heightmap.Type heightmap)- Mappings:
Namespace Name Mixin selector official <init>
Lcsn;<init>(Lcth;Lcth;Lcsz;Lcuo;Lcsp;Ljava/util/List;IZLcmm$a;)V
intermediary <init>
Lnet/minecraft/class_4643;<init>(Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Lnet/minecraft/class_5141;Lnet/minecraft/class_5201;Ljava/util/List;IZLnet/minecraft/class_2902$class_2903;)V
named <init>
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/foliage/FoliagePlacer;Lnet/minecraft/world/gen/trunk/TrunkPlacer;Lnet/minecraft/world/gen/feature/size/FeatureSize;Ljava/util/List;IZLnet/minecraft/world/Heightmap$Type;)V
-
-
Method Details
-
ignoreFluidCheck
public void ignoreFluidCheck()- Mappings:
Namespace Name Mixin selector official b
Lcsn;b()V
intermediary method_23916
Lnet/minecraft/class_4643;method_23916()V
named ignoreFluidCheck
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;ignoreFluidCheck()V
-
setTreeDecorators
- Mappings:
Namespace Name Mixin selector official a
Lcsn;a(Ljava/util/List;)Lcsn;
intermediary method_27373
Lnet/minecraft/class_4643;method_27373(Ljava/util/List;)Lnet/minecraft/class_4643;
named setTreeDecorators
Lnet/minecraft/world/gen/feature/TreeFeatureConfig;setTreeDecorators(Ljava/util/List;)Lnet/minecraft/world/gen/feature/TreeFeatureConfig;
-