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 dnl
intermediary net/minecraft/class_4643
named net/minecraft/world/gen/feature/TreeFeatureConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TreeFeatureConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldnl;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

      public final BlockStateProvider trunkProvider
      Mappings:
      Namespace Name Mixin selector
      official b Ldnl;b:Ldoq;
      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;
    • dirtProvider

      public final BlockStateProvider dirtProvider
      Mappings:
      Namespace Name Mixin selector
      official c Ldnl;c:Ldoq;
      intermediary field_29279 Lnet/minecraft/class_4643;field_29279:Lnet/minecraft/class_4651;
      named dirtProvider Lnet/minecraft/world/gen/feature/TreeFeatureConfig;dirtProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
    • trunkPlacer

      public final TrunkPlacer trunkPlacer
      Mappings:
      Namespace Name Mixin selector
      official d Ldnl;d:Ldpt;
      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;
    • foliageProvider

      public final BlockStateProvider foliageProvider
      Mappings:
      Namespace Name Mixin selector
      official e Ldnl;e:Ldoq;
      intermediary field_29280 Lnet/minecraft/class_4643;field_29280:Lnet/minecraft/class_4651;
      named foliageProvider Lnet/minecraft/world/gen/feature/TreeFeatureConfig;foliageProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
    • foliagePlacer

      public final FoliagePlacer foliagePlacer
      Mappings:
      Namespace Name Mixin selector
      official f Ldnl;f:Ldob;
      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;
    • rootPlacer

      public final Optional<RootPlacer> rootPlacer
      Mappings:
      Namespace Name Mixin selector
      official g Ldnl;g:Ljava/util/Optional;
      intermediary field_38767 Lnet/minecraft/class_4643;field_38767:Ljava/util/Optional;
      named rootPlacer Lnet/minecraft/world/gen/feature/TreeFeatureConfig;rootPlacer:Ljava/util/Optional;
    • minimumSize

      public final FeatureSize minimumSize
      Mappings:
      Namespace Name Mixin selector
      official h Ldnl;h:Ldnq;
      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;
    • decorators

      public final List<TreeDecorator> decorators
      Mappings:
      Namespace Name Mixin selector
      official i Ldnl;i: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;
    • ignoreVines

      public final boolean ignoreVines
      Mappings:
      Namespace Name Mixin selector
      official j Ldnl;j:Z
      intermediary field_24138 Lnet/minecraft/class_4643;field_24138:Z
      named ignoreVines Lnet/minecraft/world/gen/feature/TreeFeatureConfig;ignoreVines:Z
    • forceDirt

      public final boolean forceDirt
      Mappings:
      Namespace Name Mixin selector
      official k Ldnl;k:Z
      intermediary field_29281 Lnet/minecraft/class_4643;field_29281:Z
      named forceDirt Lnet/minecraft/world/gen/feature/TreeFeatureConfig;forceDirt:Z
  • Constructor Details

    • TreeFeatureConfig

      protected TreeFeatureConfig(BlockStateProvider trunkProvider, TrunkPlacer trunkPlacer, BlockStateProvider foliageProvider, FoliagePlacer foliagePlacer, Optional<RootPlacer> rootPlacer, BlockStateProvider dirtProvider, FeatureSize minimumSize, List<TreeDecorator> decorators, boolean ignoreVines, boolean forceDirt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldnl;<init>(Ldoq;Ldpt;Ldoq;Ldob;Ljava/util/Optional;Ldoq;Ldnq;Ljava/util/List;ZZ)V
      intermediary <init> Lnet/minecraft/class_4643;<init>(Lnet/minecraft/class_4651;Lnet/minecraft/class_5141;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Ljava/util/Optional;Lnet/minecraft/class_4651;Lnet/minecraft/class_5201;Ljava/util/List;ZZ)V
      named <init> Lnet/minecraft/world/gen/feature/TreeFeatureConfig;<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/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/feature/size/FeatureSize;Ljava/util/List;ZZ)V