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

    • trunkProvider

      public final BlockStateProvider trunkProvider
      Mappings:
      Namespace Name Mixin selector
      named trunkProvider Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;trunkProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
      intermediary field_21292 Lnet/minecraft/class_4643$class_4644;field_21292:Lnet/minecraft/class_4651;
      official a Lejv$a;a:Lela;
    • trunkPlacer

      private final TrunkPlacer trunkPlacer
      Mappings:
      Namespace Name Mixin selector
      named trunkPlacer Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;trunkPlacer:Lnet/minecraft/world/gen/trunk/TrunkPlacer;
      intermediary field_24141 Lnet/minecraft/class_4643$class_4644;field_24141:Lnet/minecraft/class_5141;
      official c Lejv$a;c:Lemf;
    • foliageProvider

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

      private final FoliagePlacer foliagePlacer
      Mappings:
      Namespace Name Mixin selector
      named foliagePlacer Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;foliagePlacer:Lnet/minecraft/world/gen/foliage/FoliagePlacer;
      intermediary field_24140 Lnet/minecraft/class_4643$class_4644;field_24140:Lnet/minecraft/class_4647;
      official d Lejv$a;d:Lekl;
    • rootPlacer

      private final Optional<RootPlacer> rootPlacer
      Mappings:
      Namespace Name Mixin selector
      named rootPlacer Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;rootPlacer:Ljava/util/Optional;
      intermediary field_38768 Lnet/minecraft/class_4643$class_4644;field_38768:Ljava/util/Optional;
      official e Lejv$a;e:Ljava/util/Optional;
    • dirtProvider

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

      private final FeatureSize minimumSize
      Mappings:
      Namespace Name Mixin selector
      named minimumSize Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;minimumSize:Lnet/minecraft/world/gen/feature/size/FeatureSize;
      intermediary field_24142 Lnet/minecraft/class_4643$class_4644;field_24142:Lnet/minecraft/class_5201;
      official g Lejv$a;g:Leka;
    • decorators

      private List<TreeDecorator> decorators
      Mappings:
      Namespace Name Mixin selector
      named decorators Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;decorators:Ljava/util/List;
      intermediary field_21294 Lnet/minecraft/class_4643$class_4644;field_21294:Ljava/util/List;
      official h Lejv$a;h:Ljava/util/List;
    • ignoreVines

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

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

    • Builder

      public Builder(BlockStateProvider trunkProvider, TrunkPlacer trunkPlacer, BlockStateProvider foliageProvider, FoliagePlacer foliagePlacer, Optional<RootPlacer> rootPlacer, FeatureSize minimumSize)
      Mappings:
      Namespace Name Mixin selector
      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/foliage/FoliagePlacer;Ljava/util/Optional;Lnet/minecraft/world/gen/feature/size/FeatureSize;)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_4647;Ljava/util/Optional;Lnet/minecraft/class_5201;)V
      official <init> Lejv$a;<init>(Lela;Lemf;Lela;Lekl;Ljava/util/Optional;Leka;)V
    • Builder

      public Builder(BlockStateProvider trunkProvider, TrunkPlacer trunkPlacer, BlockStateProvider foliageProvider, FoliagePlacer foliagePlacer, FeatureSize minimumSize)
      Mappings:
      Namespace Name Mixin selector
      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/foliage/FoliagePlacer;Lnet/minecraft/world/gen/feature/size/FeatureSize;)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_4647;Lnet/minecraft/class_5201;)V
      official <init> Lejv$a;<init>(Lela;Lemf;Lela;Lekl;Leka;)V
  • Method Details

    • dirtProvider

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

      public TreeFeatureConfig.Builder decorators(List<TreeDecorator> decorators)
      Mappings:
      Namespace Name Mixin selector
      named decorators Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;decorators(Ljava/util/List;)Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;
      intermediary method_27376 Lnet/minecraft/class_4643$class_4644;method_27376(Ljava/util/List;)Lnet/minecraft/class_4643$class_4644;
      official a Lejv$a;a(Ljava/util/List;)Lejv$a;
    • ignoreVines

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

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

      public TreeFeatureConfig build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/world/gen/feature/TreeFeatureConfig$Builder;build()Lnet/minecraft/world/gen/feature/TreeFeatureConfig;
      intermediary method_23445 Lnet/minecraft/class_4643$class_4644;method_23445()Lnet/minecraft/class_4643;
      official c Lejv$a;c()Lejv;