Class Decorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
- Direct Known Subclasses:
AbstractHeightmapDecorator,CarvingMaskDecorator,CountMultilayerDecorator,CountNoiseDecorator,DecoratedDecorator,EndGatewayDecorator,LavaLakeDecorator,MagmaDecorator,SimpleDecorator,Spread32AboveDecorator,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 config)com.mojang.serialization.Codec<ConfiguredDecorator<DC>>getCodec()abstract Stream<BlockPos>getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)private static <T extends DecoratorConfig, G extends Decorator<T>>
Gregister(String registryName, G decorator)StringtoString()
-
Field Details
-
NOPE
-
CHANCE
-
COUNT
-
COUNT_NOISE
-
COUNT_NOISE_BIASED
-
COUNT_EXTRA
-
SQUARE
-
HEIGHTMAP
-
HEIGHTMAP_SPREAD_DOUBLE
-
TOP_SOLID_HEIGHTMAP
-
HEIGHTMAP_WORLD_SURFACE
-
RANGE
-
RANGE_BIASED
-
RANGE_VERY_BIASED
-
DEPTH_AVERAGE
-
SPREAD_32_ABOVE
-
CARVING_MASK
-
FIRE
-
MAGMA
-
EMERALD_ORE
-
LAVA_LAKE
-
WATER_LAKE
-
GLOWSTONE
-
END_GATEWAY
-
DARK_OAK_TREE
-
ICEBERG
-
END_ISLAND
-
DECORATED
-
COUNT_MULTILAYER
-
codec
-
-
Constructor Details
-
Decorator
-
-
Method Details
-
register
private static <T extends DecoratorConfig, G extends Decorator<T>> G register(String registryName, G decorator) -
configure
-
getCodec
-
getPositions
-
toString
-