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
named net/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig
intermediary net/minecraft/class_5780
official edj
  • Field Details

    • CODEC

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

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

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

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

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

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

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

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

      private final ObjectArrayList<Direction> directions
      Mappings:
      Namespace Name Mixin selector
      named directions Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;directions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      intermediary field_28436 Lnet/minecraft/class_5780;field_28436:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      official i Ledj;i: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
      named <init> Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;<init>(Lnet/minecraft/block/MultifaceGrowthBlock;IZZZFLnet/minecraft/registry/entry/RegistryEntryList;)V
      intermediary <init> Lnet/minecraft/class_5780;<init>(Lnet/minecraft/class_5778;IZZZFLnet/minecraft/class_6885;)V
      official <init> Ledj;<init>(Ldkb;IZZZFLjm;)V
  • Method Details

    • validateBlock

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

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

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