Class RandomPatchConfiguration

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

public class RandomPatchConfiguration extends Object implements FeatureConfiguration
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<RandomPatchConfiguration> CODEC
    • stateProvider

      public final BlockStateProvider stateProvider
    • blockPlacer

      public final BlockPlacer blockPlacer
    • whitelist

      public final Set<Block> whitelist
    • blacklist

      public final Set<BlockState> blacklist
    • tries

      public final int tries
    • xspread

      public final int xspread
    • yspread

      public final int yspread
    • zspread

      public final int zspread
    • canReplace

      public final boolean canReplace
    • project

      public final boolean project
    • needWater

      public final boolean needWater
  • Constructor Details

    • RandomPatchConfiguration

      private RandomPatchConfiguration(BlockStateProvider p_67916_, BlockPlacer p_67917_, List<BlockState> p_67918_, List<BlockState> p_67919_, int p_67920_, int p_67921_, int p_67922_, int p_67923_, boolean p_67924_, boolean p_67925_, boolean p_67926_)
    • RandomPatchConfiguration

      RandomPatchConfiguration(BlockStateProvider p_67928_, BlockPlacer p_67929_, Set<Block> p_67930_, Set<BlockState> p_67931_, int p_67932_, int p_67933_, int p_67934_, int p_67935_, boolean p_67936_, boolean p_67937_, boolean p_67938_)