Class WaterDepthThresholdDecorator
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<FeatureDecorator<?>>
net.minecraft.world.level.levelgen.placement.FeatureDecorator<WaterDepthThresholdConfiguration>
net.minecraft.world.level.levelgen.placement.WaterDepthThresholdDecorator
- All Implemented Interfaces:
IForgeRegistryEntry<FeatureDecorator<?>>
public class WaterDepthThresholdDecorator
extends FeatureDecorator<WaterDepthThresholdConfiguration>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.placement.FeatureDecorator
CARVING_MASK, CAVE_SURFACE, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, END_GATEWAY, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, ICEBERG, LAVA_LAKE, NOPE, RANGE, SPREAD_32_ABOVE, SQUARE, WATER_DEPTH_THRESHOLD
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionWaterDepthThresholdDecorator(com.mojang.serialization.Codec<WaterDepthThresholdConfiguration> p_162343_)
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions(DecorationContext p_162350_, Random p_162351_, WaterDepthThresholdConfiguration p_162352_, BlockPos p_162353_)
Methods inherited from class net.minecraft.world.level.levelgen.placement.FeatureDecorator
configured, configuredCodec, toString
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Constructor Details
-
WaterDepthThresholdDecorator
public WaterDepthThresholdDecorator(com.mojang.serialization.Codec<WaterDepthThresholdConfiguration> p_162343_)
-
-
Method Details
-
getPositions
public Stream<BlockPos> getPositions(DecorationContext p_162350_, Random p_162351_, WaterDepthThresholdConfiguration p_162352_, BlockPos p_162353_)- Specified by:
getPositions
in classFeatureDecorator<WaterDepthThresholdConfiguration>
-