public class WithChance extends SimplePlacement<ChanceConfig>
CARVING_MASK, CHANCE_HEIGHTMAP, CHANCE_HEIGHTMAP_DOUBLE, CHANCE_PASSTHROUGH, CHANCE_RANGE, CHANCE_TOP_SOLID_HEIGHTMAP, CHORUS_PLANT, COUNT_BIASED_RANGE, COUNT_CHANCE_HEIGHTMAP, COUNT_CHANCE_HEIGHTMAP_DOUBLE, COUNT_DEPTH_AVERAGE, COUNT_EXTRA_HEIGHTMAP, COUNT_HEIGHT_64, COUNT_HEIGHTMAP, COUNT_HEIGHTMAP_32, COUNT_HEIGHTMAP_DOUBLE, COUNT_RANGE, COUNT_TOP_SOLID, COUNT_VERY_BIASED_RANGE, DARK_OAK_TREE, DUNGEONS, EMERALD_ORE, END_GATEWAY, END_ISLAND, FOREST_ROCK, HELL_FIRE, ICEBERG, LAVA_LAKE, LIGHT_GEM_CHANCE, MAGMA, NOISE_HEIGHTMAP_32, NOISE_HEIGHTMAP_DOUBLE, NOPE, RANDOM_COUNT_RANGE, TOP_SOLID_HEIGHTMAP, TOP_SOLID_HEIGHTMAP_NOISE_BIASED, TOP_SOLID_HEIGHTMAP_RANGE, WATER_LAKE
delegate
Constructor and Description |
---|
WithChance(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends ChanceConfig> p_i51393_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<BlockPos> |
getPositions(java.util.Random random,
ChanceConfig p_212852_2_,
BlockPos pos) |
getPositions
configure, createConfig, place, toString
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public WithChance(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends ChanceConfig> p_i51393_1_)
public java.util.stream.Stream<BlockPos> getPositions(java.util.Random random, ChanceConfig p_212852_2_, BlockPos pos)
getPositions
in class SimplePlacement<ChanceConfig>