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 cwm
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 Lcwm;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 Lcwm;b:Lcxj;
      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 Lcwm;c:Lcxj;
      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 Lcwm;d:Lcys;
      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 Lcwm;e:Lcxj;
      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;
    • field_33933

      public final BlockStateProvider field_33933
      Mappings:
      Namespace Name Mixin selector
      official f Lcwm;f:Lcxj;
      intermediary field_33933 Lnet/minecraft/class_4643;field_33933:Lnet/minecraft/class_4651;
      named field_33933 Lnet/minecraft/world/gen/feature/TreeFeatureConfig;field_33933:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
    • foliagePlacer

      public final FoliagePlacer foliagePlacer
      Mappings:
      Namespace Name Mixin selector
      official g Lcwm;g:Lcxa;
      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;
    • minimumSize

      public final FeatureSize minimumSize
      Mappings:
      Namespace Name Mixin selector
      official h Lcwm;h:Lcwq;
      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 Lcwm;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 Lcwm;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 Lcwm;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, BlockStateProvider blockStateProvider, FoliagePlacer foliagePlacer, BlockStateProvider blockStateProvider2, FeatureSize featureSize, List<TreeDecorator> list, boolean bool, boolean bool2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwm;<init>(Lcxj;Lcys;Lcxj;Lcxj;Lcxa;Lcxj;Lcwq;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_4651;Lnet/minecraft/class_4647;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/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/foliage/FoliagePlacer;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/feature/size/FeatureSize;Ljava/util/List;ZZ)V
  • Method Details

    • setTreeDecorators

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