public class ConfiguredPlacement<DC extends IPlacementConfig>
extends java.lang.Object
Constructor and Description |
---|
ConfiguredPlacement(Placement<DC> decorator,
DC config) |
ConfiguredPlacement(Placement<DC> decorator,
com.mojang.datafixers.Dynamic<?> config) |
Modifier and Type | Method and Description |
---|---|
static <T> ConfiguredPlacement<?> |
deserialize(com.mojang.datafixers.Dynamic<T> p_215095_0_) |
<FC extends IFeatureConfig,F extends Feature<FC>> |
place(IWorld p_215093_1_,
ChunkGenerator<? extends GenerationSettings> p_215093_2_,
java.util.Random p_215093_3_,
BlockPos p_215093_4_,
ConfiguredFeature<FC,F> p_215093_5_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> p_215094_1_) |
public final Placement<DC extends IPlacementConfig> decorator
public final DC extends IPlacementConfig config
public ConfiguredPlacement(Placement<DC> decorator, com.mojang.datafixers.Dynamic<?> config)
public <FC extends IFeatureConfig,F extends Feature<FC>> boolean place(IWorld p_215093_1_, ChunkGenerator<? extends GenerationSettings> p_215093_2_, java.util.Random p_215093_3_, BlockPos p_215093_4_, ConfiguredFeature<FC,F> p_215093_5_)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> p_215094_1_)
public static <T> ConfiguredPlacement<?> deserialize(com.mojang.datafixers.Dynamic<T> p_215095_0_)