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<?>>
-
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
ConstructorDescriptionCountMultilayerPlacement
(com.mojang.serialization.Codec<FeatureSpreadConfig> p_i242034_1_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
findOnGroundYPosition
(WorldDecoratingHelper p_242915_0_, int p_242915_1_, int p_242915_2_, int p_242915_3_, int p_242915_4_) getPositions
(WorldDecoratingHelper p_241857_1_, 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 Details
-
CountMultilayerPlacement
-
-
Method Details
-
getPositions
public Stream<BlockPos> getPositions(WorldDecoratingHelper p_241857_1_, 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
-