Class SimpleDecorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.SimpleDecorator<DC>
- Direct Known Subclasses:
ChancePassthroughDecorator,ChanceRangeDecorator,CountBiasedRangeDecorator,CountDepthAverageDecorator,CountRangeDecorator,CountVeryBiasedRangeDecorator,EmeraldOreDecorator,EndIslandDecorator,HellFireDecorator,LightGemChanceDecorator,NopeDecorator,RandomCountRangeDecorator
public abstract class SimpleDecorator<DC extends DecoratorConfig> extends Decorator<DC>
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.Decorator
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, FIRE, FOREST_ROCK, 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 -
Constructor Summary
Constructors Constructor Description SimpleDecorator(com.mojang.serialization.Codec<DC> codec) -
Method Summary
Modifier and Type Method Description protected abstract Stream<BlockPos>getPositions(Random random, DC config, BlockPos pos)Stream<BlockPos>getPositions(WorldAccess world, ChunkGenerator generator, Random random, DC config, BlockPos pos)Methods inherited from class net.minecraft.world.gen.decorator.Decorator
configure, generate, method_28928, toString
-
Constructor Details
-
Method Details
-
getPositions
public final Stream<BlockPos> getPositions(WorldAccess world, ChunkGenerator generator, Random random, DC config, BlockPos pos)- Specified by:
getPositionsin classDecorator<DC extends DecoratorConfig>
-
getPositions
-