Class SimpleHeightmapBasedPlacement<DC extends IPlacementConfig>
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Placement<?>>
-
- net.minecraft.world.gen.placement.Placement<DC>
-
- net.minecraft.world.gen.placement.HeightmapBasedPlacement<DC>
-
- net.minecraft.world.gen.placement.SimpleHeightmapBasedPlacement<DC>
-
- All Implemented Interfaces:
IForgeRegistryEntry<Placement<?>>
- Direct Known Subclasses:
HeightmapPlacement
,HeightmapWorldSurfacePlacement
,TopSolidOnce
public abstract class SimpleHeightmapBasedPlacement<DC extends IPlacementConfig> extends HeightmapBasedPlacement<DC>
-
-
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 SimpleHeightmapBasedPlacement(com.mojang.serialization.Codec<DC> p_i242013_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<BlockPos>
getPositions(WorldDecoratingHelper p_241857_1_, java.util.Random p_241857_2_, DC p_241857_3_, BlockPos p_241857_4_)
-
Methods inherited from class net.minecraft.world.gen.placement.HeightmapBasedPlacement
type
-
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
-
SimpleHeightmapBasedPlacement
public SimpleHeightmapBasedPlacement(com.mojang.serialization.Codec<DC> p_i242013_1_)
-
-
Method Detail
-
getPositions
public java.util.stream.Stream<BlockPos> getPositions(WorldDecoratingHelper p_241857_1_, java.util.Random p_241857_2_, DC p_241857_3_, BlockPos p_241857_4_)
- Specified by:
getPositions
in classPlacement<DC extends IPlacementConfig>
-
-