Package net.minecraft.world.gen.feature
Class ConfiguredRandomFeatureList
- java.lang.Object
-
- net.minecraft.world.gen.feature.ConfiguredRandomFeatureList
-
public class ConfiguredRandomFeatureList extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description float
chance
static com.mojang.serialization.Codec<ConfiguredRandomFeatureList>
CODEC
java.util.function.Supplier<ConfiguredFeature<?,?>>
feature
-
Constructor Summary
Constructors Modifier Constructor Description private
ConfiguredRandomFeatureList(java.util.function.Supplier<ConfiguredFeature<?,?>> p_i241980_1_, float p_i241980_2_)
ConfiguredRandomFeatureList(ConfiguredFeature<?,?> p_i225822_1_, float p_i225822_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
place(ISeedReader p_242787_1_, ChunkGenerator p_242787_2_, java.util.Random p_242787_3_, BlockPos p_242787_4_)
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<ConfiguredRandomFeatureList> CODEC
-
feature
public final java.util.function.Supplier<ConfiguredFeature<?,?>> feature
-
chance
public final float chance
-
-
Constructor Detail
-
ConfiguredRandomFeatureList
public ConfiguredRandomFeatureList(ConfiguredFeature<?,?> p_i225822_1_, float p_i225822_2_)
-
ConfiguredRandomFeatureList
private ConfiguredRandomFeatureList(java.util.function.Supplier<ConfiguredFeature<?,?>> p_i241980_1_, float p_i241980_2_)
-
-
Method Detail
-
place
public boolean place(ISeedReader p_242787_1_, ChunkGenerator p_242787_2_, java.util.Random p_242787_3_, BlockPos p_242787_4_)
-
-