Class MultifaceGrowthFeatureConfig

java.lang.Object
net.minecraft.world.gen.feature.MultifaceGrowthFeatureConfig
All Implemented Interfaces:
FeatureConfig

public class MultifaceGrowthFeatureConfig extends Object implements FeatureConfig
Mappings:
Namespace Name
official dmm
intermediary net/minecraft/class_5780
named net/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MultifaceGrowthFeatureConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldmm;a:Lcom/mojang/serialization/Codec;
      intermediary field_28429 Lnet/minecraft/class_5780;field_28429:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
    • lichen

      public final MultifaceGrowthBlock lichen
      Mappings:
      Namespace Name Mixin selector
      official b Ldmm;b:Lcud;
      intermediary field_37709 Lnet/minecraft/class_5780;field_37709:Lnet/minecraft/class_5778;
      named lichen Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;lichen:Lnet/minecraft/block/MultifaceGrowthBlock;
    • searchRange

      public final int searchRange
      Mappings:
      Namespace Name Mixin selector
      official c Ldmm;c:I
      intermediary field_28430 Lnet/minecraft/class_5780;field_28430:I
      named searchRange Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;searchRange:I
    • placeOnFloor

      public final boolean placeOnFloor
      Mappings:
      Namespace Name Mixin selector
      official d Ldmm;d:Z
      intermediary field_28431 Lnet/minecraft/class_5780;field_28431:Z
      named placeOnFloor Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;placeOnFloor:Z
    • placeOnCeiling

      public final boolean placeOnCeiling
      Mappings:
      Namespace Name Mixin selector
      official e Ldmm;e:Z
      intermediary field_28432 Lnet/minecraft/class_5780;field_28432:Z
      named placeOnCeiling Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;placeOnCeiling:Z
    • placeOnWalls

      public final boolean placeOnWalls
      Mappings:
      Namespace Name Mixin selector
      official f Ldmm;f:Z
      intermediary field_28433 Lnet/minecraft/class_5780;field_28433:Z
      named placeOnWalls Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;placeOnWalls:Z
    • spreadChance

      public final float spreadChance
      Mappings:
      Namespace Name Mixin selector
      official g Ldmm;g:F
      intermediary field_28434 Lnet/minecraft/class_5780;field_28434:F
      named spreadChance Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;spreadChance:F
    • canPlaceOn

      public final RegistryEntryList<Block> canPlaceOn
      Mappings:
      Namespace Name Mixin selector
      official h Ldmm;h:Lhh;
      intermediary field_28435 Lnet/minecraft/class_5780;field_28435:Lnet/minecraft/class_6885;
      named canPlaceOn Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;canPlaceOn:Lnet/minecraft/registry/entry/RegistryEntryList;
    • directions

      private final ObjectArrayList<Direction> directions
      Mappings:
      Namespace Name Mixin selector
      official i Ldmm;i:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      intermediary field_28436 Lnet/minecraft/class_5780;field_28436:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      named directions Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;directions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
  • Constructor Details

    • MultifaceGrowthFeatureConfig

      public MultifaceGrowthFeatureConfig(MultifaceGrowthBlock lichen, int searchRange, boolean placeOnFloor, boolean placeOnCeiling, boolean placeOnWalls, float spreadChance, RegistryEntryList<Block> canPlaceOn)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldmm;<init>(Lcud;IZZZFLhh;)V
      intermediary <init> Lnet/minecraft/class_5780;<init>(Lnet/minecraft/class_5778;IZZZFLnet/minecraft/class_6885;)V
      named <init> Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;<init>(Lnet/minecraft/block/MultifaceGrowthBlock;IZZZFLnet/minecraft/registry/entry/RegistryEntryList;)V
  • Method Details

    • validateBlock

      private static com.mojang.serialization.DataResult<MultifaceGrowthBlock> validateBlock(Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmm;a(Lcpi;)Lcom/mojang/serialization/DataResult;
      intermediary method_41573 Lnet/minecraft/class_5780;method_41573(Lnet/minecraft/class_2248;)Lcom/mojang/serialization/DataResult;
      named validateBlock Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;validateBlock(Lnet/minecraft/block/Block;)Lcom/mojang/serialization/DataResult;
    • shuffleDirections

      public List<Direction> shuffleDirections(Random random, Direction excluded)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmm;a(Lapo;Lgz;)Ljava/util/List;
      intermediary method_43296 Lnet/minecraft/class_5780;method_43296(Lnet/minecraft/class_5819;Lnet/minecraft/class_2350;)Ljava/util/List;
      named shuffleDirections Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;shuffleDirections(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/Direction;)Ljava/util/List;
    • shuffleDirections

      public List<Direction> shuffleDirections(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmm;a(Lapo;)Ljava/util/List;
      intermediary method_43295 Lnet/minecraft/class_5780;method_43295(Lnet/minecraft/class_5819;)Ljava/util/List;
      named shuffleDirections Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;shuffleDirections(Lnet/minecraft/util/math/random/Random;)Ljava/util/List;