Class Placement<DC extends IPlacementConfig>
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Placement<?>>
-
- net.minecraft.world.gen.placement.Placement<DC>
-
- All Implemented Interfaces:
IForgeRegistryEntry<Placement<?>>
- Direct Known Subclasses:
CaveEdge
,CountMultilayerPlacement
,CountNoisePlacement
,DecoratedPlacement
,EndGateway
,HeightmapBasedPlacement
,LakeLava
,LakeWater
,NetherMagma
,SimplePlacement
,Spread32AbovePlacement
public abstract class Placement<DC extends IPlacementConfig> extends ForgeRegistryEntry<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.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ConfiguredPlacement<DC>
configured(DC p_227446_1_)
com.mojang.serialization.Codec<ConfiguredPlacement<DC>>
configuredCodec()
abstract java.util.stream.Stream<BlockPos>
getPositions(WorldDecoratingHelper p_241857_1_, java.util.Random p_241857_2_, DC p_241857_3_, BlockPos p_241857_4_)
private static <T extends IPlacementConfig,G extends Placement<T>>
Gregister(java.lang.String p_214999_0_, G p_214999_1_)
java.lang.String
toString()
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Field Detail
-
NOPE
public static final Placement<NoPlacementConfig> NOPE
-
CHANCE
public static final Placement<ChanceConfig> CHANCE
-
COUNT
public static final Placement<FeatureSpreadConfig> COUNT
-
COUNT_NOISE
public static final Placement<NoiseDependant> COUNT_NOISE
-
COUNT_NOISE_BIASED
public static final Placement<TopSolidWithNoiseConfig> COUNT_NOISE_BIASED
-
COUNT_EXTRA
public static final Placement<AtSurfaceWithExtraConfig> COUNT_EXTRA
-
SQUARE
public static final Placement<NoPlacementConfig> SQUARE
-
HEIGHTMAP
public static final Placement<NoPlacementConfig> HEIGHTMAP
-
HEIGHTMAP_SPREAD_DOUBLE
public static final Placement<NoPlacementConfig> HEIGHTMAP_SPREAD_DOUBLE
-
TOP_SOLID_HEIGHTMAP
public static final Placement<NoPlacementConfig> TOP_SOLID_HEIGHTMAP
-
HEIGHTMAP_WORLD_SURFACE
public static final Placement<NoPlacementConfig> HEIGHTMAP_WORLD_SURFACE
-
RANGE
public static final Placement<TopSolidRangeConfig> RANGE
-
RANGE_BIASED
public static final Placement<TopSolidRangeConfig> RANGE_BIASED
-
RANGE_VERY_BIASED
public static final Placement<TopSolidRangeConfig> RANGE_VERY_BIASED
-
DEPTH_AVERAGE
public static final Placement<DepthAverageConfig> DEPTH_AVERAGE
-
SPREAD_32_ABOVE
public static final Placement<NoPlacementConfig> SPREAD_32_ABOVE
-
CARVING_MASK
public static final Placement<CaveEdgeConfig> CARVING_MASK
-
FIRE
public static final Placement<FeatureSpreadConfig> FIRE
-
MAGMA
public static final Placement<NoPlacementConfig> MAGMA
-
EMERALD_ORE
public static final Placement<NoPlacementConfig> EMERALD_ORE
-
LAVA_LAKE
public static final Placement<ChanceConfig> LAVA_LAKE
-
WATER_LAKE
public static final Placement<ChanceConfig> WATER_LAKE
-
GLOWSTONE
public static final Placement<FeatureSpreadConfig> GLOWSTONE
-
END_GATEWAY
public static final Placement<NoPlacementConfig> END_GATEWAY
-
DARK_OAK_TREE
public static final Placement<NoPlacementConfig> DARK_OAK_TREE
-
ICEBERG
public static final Placement<NoPlacementConfig> ICEBERG
-
END_ISLAND
public static final Placement<NoPlacementConfig> END_ISLAND
-
DECORATED
public static final Placement<DecoratedPlacementConfig> DECORATED
-
COUNT_MULTILAYER
public static final Placement<FeatureSpreadConfig> COUNT_MULTILAYER
-
configuredCodec
private final com.mojang.serialization.Codec<ConfiguredPlacement<DC extends IPlacementConfig>> configuredCodec
-
-
Constructor Detail
-
Placement
public Placement(com.mojang.serialization.Codec<DC> p_i232086_1_)
-
-
Method Detail
-
register
private static <T extends IPlacementConfig,G extends Placement<T>> G register(java.lang.String p_214999_0_, G p_214999_1_)
-
configured
public ConfiguredPlacement<DC> configured(DC p_227446_1_)
-
configuredCodec
public com.mojang.serialization.Codec<ConfiguredPlacement<DC>> configuredCodec()
-
getPositions
public abstract java.util.stream.Stream<BlockPos> getPositions(WorldDecoratingHelper p_241857_1_, java.util.Random p_241857_2_, DC p_241857_3_, BlockPos p_241857_4_)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-