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 dqw
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 Ldqw;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 Ldqw;b:Ldsb;
      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 Ldqw;c:Ldsb;
      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 Ldqw;d:Ldte;
      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 Ldqw;e:Ldsb;
      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 Ldqw;f:Ldrm;
      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 Ldqw;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 Ldqw;h:Ldrb;
      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 Ldqw;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 Ldqw;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 Ldqw;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> Ldqw;<init>(Ldsb;Ldte;Ldsb;Ldrm;Ljava/util/Optional;Ldsb;Ldrb;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