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 cwm$a
intermediary net/minecraft/class_4643$class_4644
named net/minecraft/world/gen/feature/TreeFeatureConfig$Builder
  • Field Details

    • trunkProvider

      public final BlockStateProvider trunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lcwm$a;a:Lcxj;
      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;
    • trunkPlacer

      private final TrunkPlacer trunkPlacer
      Mappings:
      Namespace Name Mixin selector
      official d Lcwm$a;d:Lcys;
      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;
    • foliageProvider

      public final BlockStateProvider foliageProvider
      Mappings:
      Namespace Name Mixin selector
      official b Lcwm$a;b:Lcxj;
      intermediary field_29282 Lnet/minecraft/class_4643$class_4644;field_29282:Lnet/minecraft/class_4651;
      named foliageProvider Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;foliageProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
    • field_33934

      public final BlockStateProvider field_33934
      Mappings:
      Namespace Name Mixin selector
      official c Lcwm$a;c:Lcxj;
      intermediary field_33934 Lnet/minecraft/class_4643$class_4644;field_33934:Lnet/minecraft/class_4651;
      named field_33934 Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;field_33934:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
    • foliagePlacer

      private final FoliagePlacer foliagePlacer
      Mappings:
      Namespace Name Mixin selector
      official e Lcwm$a;e:Lcxa;
      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;
    • dirtProvider

      private BlockStateProvider dirtProvider
      Mappings:
      Namespace Name Mixin selector
      official f Lcwm$a;f:Lcxj;
      intermediary field_29283 Lnet/minecraft/class_4643$class_4644;field_29283:Lnet/minecraft/class_4651;
      named dirtProvider Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;dirtProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
    • minimumSize

      private final FeatureSize minimumSize
      Mappings:
      Namespace Name Mixin selector
      official g Lcwm$a;g:Lcwq;
      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

      private List<TreeDecorator> decorators
      Mappings:
      Namespace Name Mixin selector
      official h Lcwm$a;h: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;
    • ignoreVines

      private boolean ignoreVines
      Mappings:
      Namespace Name Mixin selector
      official i Lcwm$a;i:Z
      intermediary field_24143 Lnet/minecraft/class_4643$class_4644;field_24143:Z
      named ignoreVines Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;ignoreVines:Z
    • forceDirt

      private boolean forceDirt
      Mappings:
      Namespace Name Mixin selector
      official j Lcwm$a;j:Z
      intermediary field_29284 Lnet/minecraft/class_4643$class_4644;field_29284:Z
      named forceDirt Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;forceDirt:Z
  • Constructor Details

    • Builder

      public Builder(BlockStateProvider trunkProvider, TrunkPlacer trunkPlacer, BlockStateProvider foliageProvider, BlockStateProvider blockStateProvider, FoliagePlacer foliagePlacer, FeatureSize featureSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwm$a;<init>(Lcxj;Lcys;Lcxj;Lcxj;Lcxa;Lcwq;)V
      intermediary <init> Lnet/minecraft/class_4643$class_4644;<init>(Lnet/minecraft/class_4651;Lnet/minecraft/class_5141;Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;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/trunk/TrunkPlacer;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/foliage/FoliagePlacer;Lnet/minecraft/world/gen/feature/size/FeatureSize;)V
  • Method Details

    • dirtProvider

      public TreeFeatureConfig.Builder dirtProvider(BlockStateProvider dirtProvider)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwm$a;a(Lcxj;)Lcwm$a;
      intermediary method_34346 Lnet/minecraft/class_4643$class_4644;method_34346(Lnet/minecraft/class_4651;)Lnet/minecraft/class_4643$class_4644;
      named dirtProvider Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;dirtProvider(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;)Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;
    • decorators

      public TreeFeatureConfig.Builder decorators(List<TreeDecorator> decorators)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwm$a;a(Ljava/util/List;)Lcwm$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;
    • ignoreVines

      public TreeFeatureConfig.Builder ignoreVines()
      Mappings:
      Namespace Name Mixin selector
      official a Lcwm$a;a()Lcwm$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;
    • forceDirt

      public TreeFeatureConfig.Builder forceDirt()
      Mappings:
      Namespace Name Mixin selector
      official b Lcwm$a;b()Lcwm$a;
      intermediary method_34347 Lnet/minecraft/class_4643$class_4644;method_34347()Lnet/minecraft/class_4643$class_4644;
      named forceDirt Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;forceDirt()Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;
    • build

      public TreeFeatureConfig build()
      Mappings:
      Namespace Name Mixin selector
      official c Lcwm$a;c()Lcwm;
      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;