Package net.minecraft.world.gen.feature
Class TreeFeatureConfig.Builder
java.lang.Object
net.minecraft.world.gen.feature.TreeFeatureConfig.Builder
- Enclosing class:
- TreeFeatureConfig
public static class TreeFeatureConfig.Builder extends Object
- Mappings:
Namespace Name official csn$a
intermediary net/minecraft/class_4643$class_4644
named net/minecraft/world/gen/feature/TreeFeatureConfig$Builder
-
Field Summary
Fields Modifier and Type Field Description private List<TreeDecorator>
decorators
private FoliagePlacer
foliagePlacer
private Heightmap.Type
heightmap
private boolean
ignoreVines
BlockStateProvider
leavesProvider
private int
maxWaterDepth
private FeatureSize
minimumSize
private TrunkPlacer
trunkPlacer
BlockStateProvider
trunkProvider
-
Constructor Summary
Constructors Constructor Description Builder(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize)
-
Method Summary
Modifier and Type Method Description TreeFeatureConfig
build()
TreeFeatureConfig.Builder
decorators(List<TreeDecorator> decorators)
TreeFeatureConfig.Builder
heightmap(Heightmap.Type heightmap)
TreeFeatureConfig.Builder
ignoreVines()
TreeFeatureConfig.Builder
maxWaterDepth(int maxWaterDepth)
-
Field Details
-
trunkProvider
- Mappings:
Namespace Name Mixin selector official a
Lcsn$a;a:Lcth;
intermediary field_21292
Lnet/minecraft/class_4643$class_4644;field_21292:Lnet/minecraft/class_4651;
named trunkProvider
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;trunkProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
-
leavesProvider
- Mappings:
Namespace Name Mixin selector official b
Lcsn$a;b:Lcth;
intermediary field_21293
Lnet/minecraft/class_4643$class_4644;field_21293:Lnet/minecraft/class_4651;
named leavesProvider
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;leavesProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
-
foliagePlacer
- Mappings:
Namespace Name Mixin selector official c
Lcsn$a;c:Lcsz;
intermediary field_24140
Lnet/minecraft/class_4643$class_4644;field_24140:Lnet/minecraft/class_4647;
named foliagePlacer
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;foliagePlacer:Lnet/minecraft/world/gen/foliage/FoliagePlacer;
-
trunkPlacer
- Mappings:
Namespace Name Mixin selector official d
Lcsn$a;d:Lcuo;
intermediary field_24141
Lnet/minecraft/class_4643$class_4644;field_24141:Lnet/minecraft/class_5141;
named trunkPlacer
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;trunkPlacer:Lnet/minecraft/world/gen/trunk/TrunkPlacer;
-
minimumSize
- Mappings:
Namespace Name Mixin selector official e
Lcsn$a;e:Lcsp;
intermediary field_24142
Lnet/minecraft/class_4643$class_4644;field_24142:Lnet/minecraft/class_5201;
named minimumSize
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;minimumSize:Lnet/minecraft/world/gen/feature/size/FeatureSize;
-
decorators
- Mappings:
Namespace Name Mixin selector official f
Lcsn$a;f:Ljava/util/List;
intermediary field_21294
Lnet/minecraft/class_4643$class_4644;field_21294:Ljava/util/List;
named decorators
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;decorators:Ljava/util/List;
-
maxWaterDepth
private int maxWaterDepth- Mappings:
Namespace Name Mixin selector official g
Lcsn$a;g:I
intermediary field_21295
Lnet/minecraft/class_4643$class_4644;field_21295:I
named maxWaterDepth
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;maxWaterDepth:I
-
ignoreVines
private boolean ignoreVines- Mappings:
Namespace Name Mixin selector official h
Lcsn$a;h:Z
intermediary field_24143
Lnet/minecraft/class_4643$class_4644;field_24143:Z
named ignoreVines
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;ignoreVines:Z
-
heightmap
- Mappings:
Namespace Name Mixin selector official i
Lcsn$a;i:Lcmm$a;
intermediary field_24144
Lnet/minecraft/class_4643$class_4644;field_24144:Lnet/minecraft/class_2902$class_2903;
named heightmap
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;heightmap:Lnet/minecraft/world/Heightmap$Type;
-
-
Constructor Details
-
Builder
public Builder(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize)- Mappings:
Namespace Name Mixin selector official <init>
Lcsn$a;<init>(Lcth;Lcth;Lcsz;Lcuo;Lcsp;)V
intermediary <init>
Lnet/minecraft/class_4643$class_4644;<init>(Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Lnet/minecraft/class_5141;Lnet/minecraft/class_5201;)V
named <init>
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;<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;)V
-
-
Method Details
-
decorators
- Mappings:
Namespace Name Mixin selector official a
Lcsn$a;a(Ljava/util/List;)Lcsn$a;
intermediary method_27376
Lnet/minecraft/class_4643$class_4644;method_27376(Ljava/util/List;)Lnet/minecraft/class_4643$class_4644;
named decorators
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;decorators(Ljava/util/List;)Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;
-
maxWaterDepth
- Mappings:
Namespace Name Mixin selector official a
Lcsn$a;a(I)Lcsn$a;
intermediary method_23446
Lnet/minecraft/class_4643$class_4644;method_23446(I)Lnet/minecraft/class_4643$class_4644;
named maxWaterDepth
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;maxWaterDepth(I)Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;
-
ignoreVines
- Mappings:
Namespace Name Mixin selector official a
Lcsn$a;a()Lcsn$a;
intermediary method_27374
Lnet/minecraft/class_4643$class_4644;method_27374()Lnet/minecraft/class_4643$class_4644;
named ignoreVines
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;ignoreVines()Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;
-
heightmap
- Mappings:
Namespace Name Mixin selector official a
Lcsn$a;a(Lcmm$a;)Lcsn$a;
intermediary method_27375
Lnet/minecraft/class_4643$class_4644;method_27375(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_4643$class_4644;
named heightmap
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;heightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lcsn$a;b()Lcsn;
intermediary method_23445
Lnet/minecraft/class_4643$class_4644;method_23445()Lnet/minecraft/class_4643;
named build
Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;build()Lnet/minecraft/world/gen/feature/TreeFeatureConfig;
-