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_225368_, ChunkGenerator p_225369_, RandomSource p_225370_, BlockPos p_225371_)
-
Field Details
-
CODEC
-
feature
-
chance
public final float chance
-
-
Constructor Details
-
WeightedPlacedFeature
-
-
Method Details
-
place
public boolean place(WorldGenLevel p_225368_, ChunkGenerator p_225369_, RandomSource p_225370_, BlockPos p_225371_)
-