public abstract class Decorator<DC extends DecoratorConfig> extends Object
| Constructor and Description |
|---|
Decorator(com.mojang.serialization.Codec<DC> codec) |
| Modifier and Type | Method and Description |
|---|---|
ConfiguredDecorator<DC> |
configure(DC dC) |
protected <FC extends FeatureConfig,F extends Feature<FC>> |
generate(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>> |
register(String registryName,
G decorator) |
String |
toString() |
public static final Decorator<NopeDecoratorConfig> NOPE
public static final Decorator<CountDecoratorConfig> COUNT_HEIGHTMAP
public static final Decorator<CountDecoratorConfig> COUNT_TOP_SOLID
public static final Decorator<CountDecoratorConfig> COUNT_HEIGHTMAP_32
public static final Decorator<CountDecoratorConfig> COUNT_HEIGHTMAP_DOUBLE
public static final Decorator<CountDecoratorConfig> COUNT_HEIGHT_64
public static final Decorator<NoiseHeightmapDecoratorConfig> NOISE_HEIGHTMAP_32
public static final Decorator<NoiseHeightmapDecoratorConfig> NOISE_HEIGHTMAP_DOUBLE
public static final Decorator<ChanceDecoratorConfig> CHANCE_HEIGHTMAP
public static final Decorator<ChanceDecoratorConfig> CHANCE_HEIGHTMAP_DOUBLE
public static final Decorator<ChanceDecoratorConfig> CHANCE_PASSTHROUGH
public static final Decorator<ChanceDecoratorConfig> CHANCE_TOP_SOLID_HEIGHTMAP
public static final Decorator<CountExtraChanceDecoratorConfig> COUNT_EXTRA_HEIGHTMAP
public static final Decorator<RangeDecoratorConfig> COUNT_RANGE
public static final Decorator<RangeDecoratorConfig> COUNT_BIASED_RANGE
public static final Decorator<RangeDecoratorConfig> COUNT_VERY_BIASED_RANGE
public static final Decorator<RangeDecoratorConfig> RANDOM_COUNT_RANGE
public static final Decorator<ChanceRangeDecoratorConfig> CHANCE_RANGE
public static final Decorator<CountChanceDecoratorConfig> COUNT_CHANCE_HEIGHTMAP
public static final Decorator<CountChanceDecoratorConfig> COUNT_CHANCE_HEIGHTMAP_DOUBLE
public static final Decorator<CountDepthDecoratorConfig> COUNT_DEPTH_AVERAGE
public static final Decorator<NopeDecoratorConfig> TOP_SOLID_HEIGHTMAP
public static final Decorator<HeightmapRangeDecoratorConfig> TOP_SOLID_HEIGHTMAP_RANGE
public static final Decorator<TopSolidHeightmapNoiseBiasedDecoratorConfig> TOP_SOLID_HEIGHTMAP_NOISE_BIASED
public static final Decorator<CarvingMaskDecoratorConfig> CARVING_MASK
public static final Decorator<CountDecoratorConfig> FOREST_ROCK
public static final Decorator<CountDecoratorConfig> FIRE
public static final Decorator<CountDecoratorConfig> MAGMA
public static final Decorator<NopeDecoratorConfig> EMERALD_ORE
public static final Decorator<ChanceDecoratorConfig> LAVA_LAKE
public static final Decorator<ChanceDecoratorConfig> WATER_LAKE
public static final Decorator<ChanceDecoratorConfig> DUNGEONS
public static final Decorator<NopeDecoratorConfig> DARK_OAK_TREE
public static final Decorator<ChanceDecoratorConfig> ICEBERG
public static final Decorator<CountDecoratorConfig> LIGHT_GEM_CHANCE
public static final Decorator<NopeDecoratorConfig> END_ISLAND
public static final Decorator<NopeDecoratorConfig> CHORUS_PLANT
public static final Decorator<NopeDecoratorConfig> END_GATEWAY
private final com.mojang.serialization.Codec<ConfiguredDecorator<DC extends DecoratorConfig>> field_24983
public Decorator(com.mojang.serialization.Codec<DC> codec)
private static <T extends DecoratorConfig,G extends Decorator<T>> G register(String registryName, G decorator)
public ConfiguredDecorator<DC> configure(DC dC)
public com.mojang.serialization.Codec<ConfiguredDecorator<DC>> method_28928()
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)
public abstract Stream<BlockPos> getPositions(WorldAccess world, ChunkGenerator generator, Random random, DC config, BlockPos pos)