public class ConfiguredRandomFeatureList<FC extends IFeatureConfig>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
chance |
ConfiguredFeature<FC,?> |
feature |
Constructor and Description |
---|
ConfiguredRandomFeatureList(ConfiguredFeature<FC,?> p_i225822_1_,
float p_i225822_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
place(IWorld p_214839_1_,
ChunkGenerator<? extends GenerationSettings> p_214839_2_,
java.util.Random p_214839_3_,
BlockPos p_214839_4_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> p_214841_1_) |
static <T> ConfiguredRandomFeatureList<?> |
withChance(com.mojang.datafixers.Dynamic<T> p_214840_0_) |
public final ConfiguredFeature<FC extends IFeatureConfig,?> feature
public final float chance
public ConfiguredRandomFeatureList(ConfiguredFeature<FC,?> p_i225822_1_, float p_i225822_2_)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> p_214841_1_)
public boolean place(IWorld p_214839_1_, ChunkGenerator<? extends GenerationSettings> p_214839_2_, java.util.Random p_214839_3_, BlockPos p_214839_4_)
public static <T> ConfiguredRandomFeatureList<?> withChance(com.mojang.datafixers.Dynamic<T> p_214840_0_)