Class Decorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
- Direct Known Subclasses:
CarvingMaskDecorator,ChanceHeightmapDecorator,ChanceHeightmapDoubleDecorator,ChanceTopSolidHeightmapDecorator,ChorusPlantDecorator,CountChanceHeightmapDecorator,CountChanceHeightmapDoubleDecorator,CountExtraHeightmapDecorator,CountHeight64Decorator,CountHeightmap32Decorator,CountHeightmapDecorator,CountHeightmapDoubleDecorator,CountTopSolidDecorator,DarkOakTreeDecorator,DungeonsDecorator,EndGatewayDecorator,ForestRockDecorator,HeightmapDecorator,HeightmapNoiseBiasedDecorator,HeightmapRangeDecorator,IcebergDecorator,LavaLakeDecorator,MagmaDecorator,NoiseHeightmap32Decorator,NoiseHeightmapDoubleDecorator,SimpleDecorator,WaterLakeDecorator
public abstract class Decorator<DC extends DecoratorConfig> extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ConfiguredDecorator<DC>configure(DC dC)protected <FC extends FeatureConfig, F extends Feature<FC>>
booleangenerate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, DC dC, ConfiguredFeature<FC,F> configuredFeature)abstract Stream<BlockPos>getPositions(WorldAccess world, ChunkGenerator generator, Random random, DC config, BlockPos pos)com.mojang.serialization.Codec<ConfiguredDecorator<DC>>method_28928()private static <T extends DecoratorConfig, G extends Decorator<T>>
Gregister(String registryName, G decorator)StringtoString()
-
Field Details
-
NOPE
-
COUNT_HEIGHTMAP
-
COUNT_TOP_SOLID
-
COUNT_HEIGHTMAP_32
-
COUNT_HEIGHTMAP_DOUBLE
-
COUNT_HEIGHT_64
-
NOISE_HEIGHTMAP_32
-
NOISE_HEIGHTMAP_DOUBLE
-
CHANCE_HEIGHTMAP
-
CHANCE_HEIGHTMAP_DOUBLE
-
CHANCE_PASSTHROUGH
-
CHANCE_TOP_SOLID_HEIGHTMAP
-
COUNT_EXTRA_HEIGHTMAP
-
COUNT_RANGE
-
COUNT_BIASED_RANGE
-
COUNT_VERY_BIASED_RANGE
-
RANDOM_COUNT_RANGE
-
CHANCE_RANGE
-
COUNT_CHANCE_HEIGHTMAP
-
COUNT_CHANCE_HEIGHTMAP_DOUBLE
-
COUNT_DEPTH_AVERAGE
-
TOP_SOLID_HEIGHTMAP
-
TOP_SOLID_HEIGHTMAP_RANGE
-
TOP_SOLID_HEIGHTMAP_NOISE_BIASED
public static final Decorator<TopSolidHeightmapNoiseBiasedDecoratorConfig> TOP_SOLID_HEIGHTMAP_NOISE_BIASED -
CARVING_MASK
-
FOREST_ROCK
-
FIRE
-
MAGMA
-
EMERALD_ORE
-
LAVA_LAKE
-
WATER_LAKE
-
DUNGEONS
-
DARK_OAK_TREE
-
ICEBERG
-
LIGHT_GEM_CHANCE
-
END_ISLAND
-
CHORUS_PLANT
-
END_GATEWAY
-
field_24983
private final com.mojang.serialization.Codec<ConfiguredDecorator<DC extends DecoratorConfig>> field_24983
-
-
Constructor Details
-
Method Details
-
register
private static <T extends DecoratorConfig, G extends Decorator<T>> G register(String registryName, G decorator) -
configure
-
method_28928
-
generate
protected <FC extends FeatureConfig, F extends Feature<FC>> boolean generate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, DC dC, ConfiguredFeature<FC,F> configuredFeature) -
getPositions
public abstract Stream<BlockPos> getPositions(WorldAccess world, ChunkGenerator generator, Random random, DC config, BlockPos pos) -
toString
-