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

public class MultifaceGrowthConfiguration

implements FeatureConfiguration

dmm
net.minecraft.world.level.levelgen.feature.configurations.MultifaceGrowthConfiguration
net.minecraft.class_5780
net.minecraft.world.gen.feature.MultifaceGrowthFeatureConfig
net.minecraft.src.C_213144_
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
f_225381_
public final MultifaceBlock
b
placeBlock
field_37709
lichen
f_225382_
public final int
c
searchRange
field_28430
searchRange
f_225383_
public final boolean
d
canPlaceOnFloor
field_28431
placeOnFloor
f_225384_
public final boolean
e
canPlaceOnCeiling
field_28432
placeOnCeiling
f_225385_
public final boolean
f
canPlaceOnWall
field_28433
placeOnWalls
f_225386_
public final float
g
chanceOfSpreading
field_28434
spreadChance
f_225387_
public final HolderSet<Block>
h
canBePlacedOn
field_28435
canPlaceOn
f_225388_
private final it.unimi.dsi.fastutil.objects.ObjectArrayList<Direction>
i
validDirections
field_28436
directions
f_225389_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<MultifaceBlock>
a(cpi arg0)
apply(Block arg0)
method_41573(class_2248 arg0)
validateBlock(Block block)
m_225404_(C_1706_ p_225405_)
public List<Direction>
a(apo arg0, gz arg1)
getShuffledDirectionsExcept(RandomSource arg0, Direction arg1)
method_43296(class_5819 arg0, class_2350 arg1)
shuffleDirections(Random random, Direction excluded)
m_225401_(C_212974_ p_225403_, C_4687_ arg1)
public List<Direction>
a(apo arg0)
getShuffledDirections(RandomSource arg0)
method_43295(class_5819 arg0)
shuffleDirections(Random random)
m_225399_(C_212974_ arg0)