public class CountMultilayerDecorator extends Decorator<CountConfig>
CARVING_MASK, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, DEPTH_AVERAGE, EMERALD_ORE, END_GATEWAY, END_ISLAND, FIRE, GLOWSTONE, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, HEIGHTMAP_WORLD_SURFACE, ICEBERG, LAVA_LAKE, MAGMA, NOPE, RANGE, RANGE_BIASED, RANGE_VERY_BIASED, SPREAD_32_ABOVE, SQUARE, TOP_SOLID_HEIGHTMAP, WATER_LAKE
Constructor and Description |
---|
CountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
blocksSpawn(BlockState state) |
private static int |
findPos(DecoratorContext context,
int x,
int y,
int z,
int targetY) |
Stream<BlockPos> |
getPositions(DecoratorContext decoratorContext,
Random random,
CountConfig countConfig,
BlockPos blockPos) |
public CountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec)
public Stream<BlockPos> getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
getPositions
in class Decorator<CountConfig>
private static int findPos(DecoratorContext context, int x, int y, int z, int targetY)
private static boolean blocksSpawn(BlockState state)