Class CountMultilayerPlacement
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Placement<?>>
-
- net.minecraft.world.gen.placement.Placement<FeatureSpreadConfig>
-
- net.minecraft.world.gen.placement.CountMultilayerPlacement
-
- All Implemented Interfaces:
IForgeRegistryEntry<Placement<?>>
public class CountMultilayerPlacement extends Placement<FeatureSpreadConfig>
-
-
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.gen.placement.Placement
CARVING_MASK, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, DEPTH_AVERAGE, EMERALD_ORE, END_GATEWAY, END_ISLAND, FIRE, GLOWSTONE, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, HEIGHTMAP_WORLD_SURFACE, ICEBERG, LAVA_LAKE, MAGMA, NOPE, RANGE, RANGE_BIASED, RANGE_VERY_BIASED, SPREAD_32_ABOVE, SQUARE, TOP_SOLID_HEIGHTMAP, WATER_LAKE
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description CountMultilayerPlacement(com.mojang.serialization.Codec<FeatureSpreadConfig> p_i242034_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
findOnGroundYPosition(WorldDecoratingHelper p_242915_0_, int p_242915_1_, int p_242915_2_, int p_242915_3_, int p_242915_4_)
java.util.stream.Stream<BlockPos>
getPositions(WorldDecoratingHelper p_241857_1_, java.util.Random p_241857_2_, FeatureSpreadConfig p_241857_3_, BlockPos p_241857_4_)
private static boolean
isEmpty(BlockState p_242914_0_)
-
Methods inherited from class net.minecraft.world.gen.placement.Placement
configured, configuredCodec, toString
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Constructor Detail
-
CountMultilayerPlacement
public CountMultilayerPlacement(com.mojang.serialization.Codec<FeatureSpreadConfig> p_i242034_1_)
-
-
Method Detail
-
getPositions
public java.util.stream.Stream<BlockPos> getPositions(WorldDecoratingHelper p_241857_1_, java.util.Random p_241857_2_, FeatureSpreadConfig p_241857_3_, BlockPos p_241857_4_)
- Specified by:
getPositions
in classPlacement<FeatureSpreadConfig>
-
findOnGroundYPosition
private static int findOnGroundYPosition(WorldDecoratingHelper p_242915_0_, int p_242915_1_, int p_242915_2_, int p_242915_3_, int p_242915_4_)
-
isEmpty
private static boolean isEmpty(BlockState p_242914_0_)
-
-