Class HeightmapSpreadDoublePlacement<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.HeightmapSpreadDoublePlacement<DC>
- All Implemented Interfaces:
IForgeRegistryEntry<Placement<?>>
public class HeightmapSpreadDoublePlacement<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
ConstructorDescriptionHeightmapSpreadDoublePlacement
(com.mojang.serialization.Codec<DC> p_i242027_1_) -
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(WorldDecoratingHelper p_241857_1_, Random p_241857_2_, DC p_241857_3_, BlockPos p_241857_4_) protected Heightmap.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 Details
-
HeightmapSpreadDoublePlacement
-
-
Method Details
-
type
- Specified by:
type
in classHeightmapBasedPlacement<DC extends IPlacementConfig>
-
getPositions
public Stream<BlockPos> getPositions(WorldDecoratingHelper p_241857_1_, Random p_241857_2_, DC p_241857_3_, BlockPos p_241857_4_) - Specified by:
getPositions
in classPlacement<DC extends IPlacementConfig>
-