Class ConfiguredFeature<FC extends FeatureConfiguration,F extends Feature<FC>>
java.lang.Object
net.minecraft.world.level.levelgen.feature.ConfiguredFeature<FC,F>
- All Implemented Interfaces:
Decoratable<ConfiguredFeature<?,?>>
public class ConfiguredFeature<FC extends FeatureConfiguration,F extends Feature<FC>>
extends Object
implements Decoratable<ConfiguredFeature<?,?>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<Supplier<ConfiguredFeature<?,?>>>
static com.mojang.serialization.Codec<ConfiguredFeature<?,?>>
static com.mojang.serialization.Codec<List<Supplier<ConfiguredFeature<?,?>>>>
static org.apache.logging.log4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfig()
ConfiguredFeature<?,?>
decorated(ConfiguredDecorator<?> p_65396_)
feature()
Stream<ConfiguredFeature<?,?>>
boolean
place(WorldGenLevel p_65386_, ChunkGenerator p_65387_, Random p_65388_, BlockPos p_65389_)
toString()
weighted(float p_65384_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.levelgen.Decoratable
count, count, countRandom, range, rangeTriangle, rangeUniform, rarity, squared
-
Field Details
-
DIRECT_CODEC
-
CODEC
-
LIST_CODEC
public static final com.mojang.serialization.Codec<List<Supplier<ConfiguredFeature<?,?>>>> LIST_CODEC -
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER -
feature
-
config
-
-
Constructor Details
-
ConfiguredFeature
-
-
Method Details
-
feature
-
config
-
decorated
- Specified by:
decorated
in interfaceDecoratable<FC extends FeatureConfiguration>
-
weighted
-
place
public boolean place(WorldGenLevel p_65386_, ChunkGenerator p_65387_, Random p_65388_, BlockPos p_65389_) -
getFeatures
-
toString
-