Class SimplePlacement<DC extends IPlacementConfig>
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Placement<?>>
-
- net.minecraft.world.gen.placement.Placement<DC>
-
- net.minecraft.world.gen.placement.SimplePlacement<DC>
-
- All Implemented Interfaces:
IForgeRegistryEntry<Placement<?>>
- Direct Known Subclasses:
ChancePlacement
,CountExtraPlacement
,CountNoiseBiasedPlacement
,CountPlacement
,DepthAveragePlacement
,EndIsland
,FirePlacement
,GlowstonePlacement
,Height4To32
,IcebergPlacement
,Passthrough
,RangeBiasedPlacement
,RangePlacement
,RangeVeryBiasedPlacement
,SquarePlacement
public abstract class SimplePlacement<DC extends IPlacementConfig> extends Placement<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 SimplePlacement(com.mojang.serialization.Codec<DC> p_i232095_1_)
-
Method Summary
All Methods Instance Methods Abstract 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_)
protected abstract java.util.stream.Stream<BlockPos>
place(java.util.Random p_212852_1_, DC p_212852_2_, BlockPos p_212852_3_)
-
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
-
SimplePlacement
public SimplePlacement(com.mojang.serialization.Codec<DC> p_i232095_1_)
-
-
Method Detail
-
getPositions
public final 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>
-
-