Class WeightedPlacedFeature
java.lang.Object
net.minecraft.world.level.levelgen.feature.WeightedPlacedFeature
-
Field Summary
Modifier and TypeFieldDescriptionfinal float
static final com.mojang.serialization.Codec<WeightedPlacedFeature>
final Holder<PlacedFeature>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
place
(WorldGenLevel p_191182_, ChunkGenerator p_191183_, Random p_191184_, BlockPos p_191185_)
-
Field Details
-
CODEC
-
feature
-
chance
public final float chance
-
-
Constructor Details
-
WeightedPlacedFeature
-
-
Method Details
-
place
public boolean place(WorldGenLevel p_191182_, ChunkGenerator p_191183_, Random p_191184_, BlockPos p_191185_)
-