public abstract class Placement<DC extends IPlacementConfig> extends ForgeRegistryEntry<Placement<?>>
delegate
Constructor and Description |
---|
Placement(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends DC> configFactoryIn) |
Modifier and Type | Method and Description |
---|---|
ConfiguredPlacement<DC> |
configure(DC p_227446_1_) |
DC |
createConfig(com.mojang.datafixers.Dynamic<?> p_215001_1_) |
abstract java.util.stream.Stream<BlockPos> |
getPositions(IWorld worldIn,
ChunkGenerator<? extends GenerationSettings> generatorIn,
java.util.Random random,
DC configIn,
BlockPos pos) |
protected <FC extends IFeatureConfig,F extends Feature<FC>> |
place(IWorld worldIn,
ChunkGenerator<? extends GenerationSettings> p_214998_2_,
java.util.Random random,
BlockPos pos,
DC p_214998_5_,
ConfiguredFeature<FC,F> p_214998_6_) |
private static <T extends IPlacementConfig,G extends Placement<T>> |
register(java.lang.String key,
G p_214999_1_) |
java.lang.String |
toString() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final Placement<NoPlacementConfig> NOPE
public static final Placement<FrequencyConfig> COUNT_HEIGHTMAP
public static final Placement<FrequencyConfig> COUNT_TOP_SOLID
public static final Placement<FrequencyConfig> COUNT_HEIGHTMAP_32
public static final Placement<FrequencyConfig> COUNT_HEIGHTMAP_DOUBLE
public static final Placement<FrequencyConfig> COUNT_HEIGHT_64
public static final Placement<NoiseDependant> NOISE_HEIGHTMAP_32
public static final Placement<NoiseDependant> NOISE_HEIGHTMAP_DOUBLE
public static final Placement<ChanceConfig> CHANCE_HEIGHTMAP
public static final Placement<ChanceConfig> CHANCE_HEIGHTMAP_DOUBLE
public static final Placement<ChanceConfig> CHANCE_PASSTHROUGH
public static final Placement<ChanceConfig> CHANCE_TOP_SOLID_HEIGHTMAP
public static final Placement<AtSurfaceWithExtraConfig> COUNT_EXTRA_HEIGHTMAP
public static final Placement<CountRangeConfig> COUNT_RANGE
public static final Placement<CountRangeConfig> COUNT_BIASED_RANGE
public static final Placement<CountRangeConfig> COUNT_VERY_BIASED_RANGE
public static final Placement<CountRangeConfig> RANDOM_COUNT_RANGE
public static final Placement<ChanceRangeConfig> CHANCE_RANGE
public static final Placement<HeightWithChanceConfig> COUNT_CHANCE_HEIGHTMAP
public static final Placement<HeightWithChanceConfig> COUNT_CHANCE_HEIGHTMAP_DOUBLE
public static final Placement<DepthAverageConfig> COUNT_DEPTH_AVERAGE
public static final Placement<NoPlacementConfig> TOP_SOLID_HEIGHTMAP
public static final Placement<TopSolidRangeConfig> TOP_SOLID_HEIGHTMAP_RANGE
public static final Placement<TopSolidWithNoiseConfig> TOP_SOLID_HEIGHTMAP_NOISE_BIASED
public static final Placement<CaveEdgeConfig> CARVING_MASK
public static final Placement<FrequencyConfig> FOREST_ROCK
public static final Placement<FrequencyConfig> HELL_FIRE
public static final Placement<FrequencyConfig> MAGMA
public static final Placement<NoPlacementConfig> EMERALD_ORE
public static final Placement<ChanceConfig> LAVA_LAKE
public static final Placement<ChanceConfig> WATER_LAKE
public static final Placement<ChanceConfig> DUNGEONS
public static final Placement<NoPlacementConfig> DARK_OAK_TREE
public static final Placement<ChanceConfig> ICEBERG
public static final Placement<FrequencyConfig> LIGHT_GEM_CHANCE
public static final Placement<NoPlacementConfig> END_ISLAND
public static final Placement<NoPlacementConfig> CHORUS_PLANT
public static final Placement<NoPlacementConfig> END_GATEWAY
private final java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends DC extends IPlacementConfig> configFactory
public Placement(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends DC> configFactoryIn)
private static <T extends IPlacementConfig,G extends Placement<T>> G register(java.lang.String key, G p_214999_1_)
public DC createConfig(com.mojang.datafixers.Dynamic<?> p_215001_1_)
public ConfiguredPlacement<DC> configure(DC p_227446_1_)
protected <FC extends IFeatureConfig,F extends Feature<FC>> boolean place(IWorld worldIn, ChunkGenerator<? extends GenerationSettings> p_214998_2_, java.util.Random random, BlockPos pos, DC p_214998_5_, ConfiguredFeature<FC,F> p_214998_6_)
public abstract java.util.stream.Stream<BlockPos> getPositions(IWorld worldIn, ChunkGenerator<? extends GenerationSettings> generatorIn, java.util.Random random, DC configIn, BlockPos pos)
public java.lang.String toString()
toString
in class java.lang.Object