Class FeatureDecorator<DC extends DecoratorConfiguration>
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<FeatureDecorator<?>>
net.minecraft.world.level.levelgen.placement.FeatureDecorator<DC>
- All Implemented Interfaces:
IForgeRegistryEntry<FeatureDecorator<?>>
- Direct Known Subclasses:
CarvingMaskDecorator
,CaveSurfaceDecorator
,CountMultiLayerDecorator
,DarkOakTreePlacementDecorator
,DecoratedDecorator
,HeightmapDecorator
,HeightmapDoubleDecorator
,IcebergPlacementDecorator
,NopePlacementDecorator
,RepeatingDecorator
,SquareDecorator
,VerticalDecorator
,WaterDepthThresholdDecorator
public abstract class FeatureDecorator<DC extends DecoratorConfiguration>
extends ForgeRegistryEntry<FeatureDecorator<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate com.mojang.serialization.Codec<ConfiguredDecorator<DC>>
static FeatureDecorator<CountConfiguration>
static FeatureDecorator<CountConfiguration>
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfigured(DC p_70721_)
com.mojang.serialization.Codec<ConfiguredDecorator<DC>>
getPositions(DecorationContext p_70713_, Random p_70714_, DC p_70715_, BlockPos p_70716_)
private static <T extends DecoratorConfiguration, G extends FeatureDecorator<T>>
GtoString()
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
NOPE
-
DECORATED
-
CARVING_MASK
-
COUNT_MULTILAYER
-
SQUARE
-
DARK_OAK_TREE
-
ICEBERG
-
CHANCE
-
COUNT
-
COUNT_NOISE
-
COUNT_NOISE_BIASED
-
COUNT_EXTRA
-
LAVA_LAKE
-
HEIGHTMAP
-
HEIGHTMAP_SPREAD_DOUBLE
-
WATER_DEPTH_THRESHOLD
-
CAVE_SURFACE
-
RANGE
-
SPREAD_32_ABOVE
-
END_GATEWAY
-
configuredCodec
private final com.mojang.serialization.Codec<ConfiguredDecorator<DC extends DecoratorConfiguration>> configuredCodec
-
-
Constructor Details
-
FeatureDecorator
-
-
Method Details
-
register
private static <T extends DecoratorConfiguration, G extends FeatureDecorator<T>> G register(String p_70718_, G p_70719_) -
configured
-
configuredCodec
-
getPositions
-
toString
-