Class CountMultilayerDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<CountConfig>
net.minecraft.world.gen.decorator.CountMultilayerDecorator
public class CountMultilayerDecorator extends Decorator<CountConfig>
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.Decorator
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 Summary
Constructors Constructor Description CountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec) -
Method Summary
Modifier and Type Method Description private static booleanblocksSpawn(BlockState state)private static intfindPos(DecoratorContext context, int x, int y, int z, int targetY)Stream<BlockPos>getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
-
Constructor Details
-
CountMultilayerDecorator
-
-
Method Details
-
getPositions
public Stream<BlockPos> getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)- Specified by:
getPositionsin classDecorator<CountConfig>
-
findPos
-
blocksSpawn
-