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 csn
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 Lcsn;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 Lcsn;b:Lcth;
      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;
    • leavesProvider

      public final BlockStateProvider leavesProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lcsn;c:Lcth;
      intermediary field_21289 Lnet/minecraft/class_4643;field_21289:Lnet/minecraft/class_4651;
      named leavesProvider Lnet/minecraft/world/gen/feature/TreeFeatureConfig;leavesProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
    • decorators

      public final List<TreeDecorator> decorators
      Mappings:
      Namespace Name Mixin selector
      official d Lcsn;d: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;
    • skipFluidCheck

      public transient boolean skipFluidCheck
      Mappings:
      Namespace Name Mixin selector
      official e Lcsn;e:Z
      intermediary field_21593 Lnet/minecraft/class_4643;field_21593:Z
      named skipFluidCheck Lnet/minecraft/world/gen/feature/TreeFeatureConfig;skipFluidCheck:Z
    • foliagePlacer

      public final FoliagePlacer foliagePlacer
      Mappings:
      Namespace Name Mixin selector
      official f Lcsn;f:Lcsz;
      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;
    • trunkPlacer

      public final TrunkPlacer trunkPlacer
      Mappings:
      Namespace Name Mixin selector
      official g Lcsn;g:Lcuo;
      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;
    • minimumSize

      public final FeatureSize minimumSize
      Mappings:
      Namespace Name Mixin selector
      official h Lcsn;h:Lcsp;
      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;
    • maxWaterDepth

      public final int maxWaterDepth
      Mappings:
      Namespace Name Mixin selector
      official i Lcsn;i:I
      intermediary field_21291 Lnet/minecraft/class_4643;field_21291:I
      named maxWaterDepth Lnet/minecraft/world/gen/feature/TreeFeatureConfig;maxWaterDepth:I
    • ignoreVines

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

      public final Heightmap.Type heightmap
      Mappings:
      Namespace Name Mixin selector
      official k Lcsn;k:Lcmm$a;
      intermediary field_24139 Lnet/minecraft/class_4643;field_24139:Lnet/minecraft/class_2902$class_2903;
      named heightmap Lnet/minecraft/world/gen/feature/TreeFeatureConfig;heightmap:Lnet/minecraft/world/Heightmap$Type;
  • Constructor Details

    • TreeFeatureConfig

      protected TreeFeatureConfig​(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, int maxWaterDepth, boolean ignoreVines, Heightmap.Type heightmap)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsn;<init>(Lcth;Lcth;Lcsz;Lcuo;Lcsp;Ljava/util/List;IZLcmm$a;)V
      intermediary <init> Lnet/minecraft/class_4643;<init>(Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Lnet/minecraft/class_5141;Lnet/minecraft/class_5201;Ljava/util/List;IZLnet/minecraft/class_2902$class_2903;)V
      named <init> Lnet/minecraft/world/gen/feature/TreeFeatureConfig;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/world/gen/foliage/FoliagePlacer;Lnet/minecraft/world/gen/trunk/TrunkPlacer;Lnet/minecraft/world/gen/feature/size/FeatureSize;Ljava/util/List;IZLnet/minecraft/world/Heightmap$Type;)V
  • Method Details

    • ignoreFluidCheck

      public void ignoreFluidCheck()
      Mappings:
      Namespace Name Mixin selector
      official b Lcsn;b()V
      intermediary method_23916 Lnet/minecraft/class_4643;method_23916()V
      named ignoreFluidCheck Lnet/minecraft/world/gen/feature/TreeFeatureConfig;ignoreFluidCheck()V
    • setTreeDecorators

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