public abstract class SimplePlacement<DC extends IPlacementConfig> extends Placement<DC>
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 |
---|
SimplePlacement(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends DC> p_i51362_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<BlockPos> |
getPositions(IWorld worldIn,
ChunkGenerator<? extends GenerationSettings> generatorIn,
java.util.Random random,
DC configIn,
BlockPos pos) |
protected abstract java.util.stream.Stream<BlockPos> |
getPositions(java.util.Random random,
DC p_212852_2_,
BlockPos pos) |
configure, createConfig, place, toString
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public SimplePlacement(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends DC> p_i51362_1_)
public final java.util.stream.Stream<BlockPos> getPositions(IWorld worldIn, ChunkGenerator<? extends GenerationSettings> generatorIn, java.util.Random random, DC configIn, BlockPos pos)
getPositions
in class Placement<DC extends IPlacementConfig>