Class CountMultiLayerDecorator
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<FeatureDecorator<?>>
net.minecraft.world.level.levelgen.placement.FeatureDecorator<CountConfiguration>
net.minecraft.world.level.levelgen.placement.nether.CountMultiLayerDecorator
- All Implemented Interfaces:
IForgeRegistryEntry<FeatureDecorator<?>>
-
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
ConstructorDescriptionCountMultiLayerDecorator(com.mojang.serialization.Codec<CountConfiguration> p_70892_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
findOnGroundYPosition(DecorationContext p_70896_, int p_70897_, int p_70898_, int p_70899_, int p_70900_)
getPositions(DecorationContext p_70902_, Random p_70903_, CountConfiguration p_70904_, BlockPos p_70905_)
private static boolean
isEmpty(BlockState p_70894_)
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
-
CountMultiLayerDecorator
-
-
Method Details
-
getPositions
public Stream<BlockPos> getPositions(DecorationContext p_70902_, Random p_70903_, CountConfiguration p_70904_, BlockPos p_70905_)- Specified by:
getPositions
in classFeatureDecorator<CountConfiguration>
-
findOnGroundYPosition
private static int findOnGroundYPosition(DecorationContext p_70896_, int p_70897_, int p_70898_, int p_70899_, int p_70900_) -
isEmpty
-