net.minecraft.world.level.levelgen.feature.configurations

public class MultifaceGrowthConfiguration

implements FeatureConfiguration

eii
net.minecraft.world.level.levelgen.feature.configurations.MultifaceGrowthConfiguration
net.minecraft.class_5780
net.minecraft.world.gen.feature.MultifaceGrowthFeatureConfig
net.minecraft.world.level.levelgen.feature.configurations.MultifaceGrowthConfiguration

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<MultifaceGrowthConfiguration>
a
CODEC
field_28429
CODEC
public final MultifaceSpreadeableBlock
b
placeBlock
field_37709
block
public final int
c
searchRange
field_28430
searchRange
public final boolean
d
canPlaceOnFloor
field_28431
placeOnFloor
public final boolean
e
canPlaceOnCeiling
field_28432
placeOnCeiling
public final boolean
f
canPlaceOnWall
field_28433
placeOnWalls
public final float
g
chanceOfSpreading
field_28434
spreadChance
public final HolderSet<Block>
h
canBePlacedOn
field_28435
canPlaceOn
private final it.unimi.dsi.fastutil.objects.ObjectArrayList<Direction>
i
validDirections
field_28436
directions

Constructor summary

ModifierConstructor
public (MultifaceSpreadeableBlock block, int searchRange, boolean placeOnFloor, boolean placeOnCeiling, boolean placeOnWalls, float spreadChance, HolderSet<Block> canPlaceOn)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<MultifaceSpreadeableBlock>
a(djn arg0)
apply(Block arg0)
method_41573(class_2248 arg0)
validateBlock(Block block)
public List<Direction>
a(azh arg0, jn arg1)
getShuffledDirectionsExcept(RandomSource arg0, Direction arg1)
method_43296(class_5819 arg0, class_2350 arg1)
shuffleDirections(Random random, Direction excluded)
public List<Direction>
a(azh arg0)
getShuffledDirections(RandomSource arg0)
method_43295(class_5819 arg0)
shuffleDirections(Random random)