Package net.minecraft.world.gen.feature
Class ConfiguredFeature<FC extends IFeatureConfig,F extends Feature<FC>>
java.lang.Object
net.minecraft.world.gen.feature.ConfiguredFeature<FC,F>
- All Implemented Interfaces:
IDecoratable<ConfiguredFeature<?,
?>>
public class ConfiguredFeature<FC extends IFeatureConfig,F extends Feature<FC>>
extends Object
implements IDecoratable<ConfiguredFeature<?,?>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Supplier<ConfiguredFeature<?,
?>>> final FC
static final com.mojang.serialization.Codec<ConfiguredFeature<?,
?>> final F
static final com.mojang.serialization.Codec<List<Supplier<ConfiguredFeature<?,
?>>>> static final org.apache.logging.log4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfig()
ConfiguredFeature<?,
?> decorated
(ConfiguredPlacement<?> p_227228_1_) feature()
Stream<ConfiguredFeature<?,
?>> boolean
place
(ISeedReader p_242765_1_, ChunkGenerator p_242765_2_, Random p_242765_3_, BlockPos p_242765_4_) weighted
(float p_227227_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.IDecoratable
chance, count, count, countRandom, range, 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 interfaceIDecoratable<FC extends IFeatureConfig>
-
weighted
-
place
public boolean place(ISeedReader p_242765_1_, ChunkGenerator p_242765_2_, Random p_242765_3_, BlockPos p_242765_4_) -
getFeatures
-