Class MultifaceGrowthConfiguration
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.MultifaceGrowthConfiguration
- All Implemented Interfaces:
FeatureConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final boolean
final boolean
final float
static final com.mojang.serialization.Codec
<MultifaceGrowthConfiguration> final MultifaceBlock
final int
private final it.unimi.dsi.fastutil.objects.ObjectArrayList
<Direction> Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE
-
Constructor Summary
ConstructorDescriptionMultifaceGrowthConfiguration
(MultifaceBlock p_225392_, int p_225393_, boolean p_225394_, boolean p_225395_, boolean p_225396_, float p_225397_, HolderSet<Block> p_225398_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<MultifaceBlock> getShuffledDirections
(RandomSource p_225400_) getShuffledDirectionsExcept
(RandomSource p_225402_, Direction p_225403_) 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.level.levelgen.feature.configurations.FeatureConfiguration
getFeatures
-
Field Details
-
CODEC
-
placeBlock
-
searchRange
public final int searchRange -
canPlaceOnFloor
public final boolean canPlaceOnFloor -
canPlaceOnCeiling
public final boolean canPlaceOnCeiling -
canPlaceOnWall
public final boolean canPlaceOnWall -
chanceOfSpreading
public final float chanceOfSpreading -
canBePlacedOn
-
validDirections
-
-
Constructor Details
-
MultifaceGrowthConfiguration
public MultifaceGrowthConfiguration(MultifaceBlock p_225392_, int p_225393_, boolean p_225394_, boolean p_225395_, boolean p_225396_, float p_225397_, HolderSet<Block> p_225398_)
-
-
Method Details
-
apply
-
getShuffledDirectionsExcept
-
getShuffledDirections
-