Class MultifaceGrowthConfiguration

java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.MultifaceGrowthConfiguration
All Implemented Interfaces:
FeatureConfiguration

public class MultifaceGrowthConfiguration extends Object implements FeatureConfiguration
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MultifaceGrowthConfiguration> CODEC
    • placeBlock

      public final MultifaceBlock placeBlock
    • searchRange

      public final int searchRange
    • canPlaceOnFloor

      public final boolean canPlaceOnFloor
    • canPlaceOnCeiling

      public final boolean canPlaceOnCeiling
    • canPlaceOnWall

      public final boolean canPlaceOnWall
    • chanceOfSpreading

      public final float chanceOfSpreading
    • canBePlacedOn

      public final HolderSet<Block> canBePlacedOn
    • validDirections

      private final it.unimi.dsi.fastutil.objects.ObjectArrayList<Direction> validDirections
  • Constructor Details

    • MultifaceGrowthConfiguration

      public MultifaceGrowthConfiguration(MultifaceBlock p_225392_, int p_225393_, boolean p_225394_, boolean p_225395_, boolean p_225396_, float p_225397_, HolderSet<Block> p_225398_)
  • Method Details