net.minecraft.world.gen.feature

public class WaterloggedVegetationPatchFeature

extends VegetationPatchFeature

All mapped superinterfaces:

Feature

net.minecraft.world.level.levelgen.feature.WaterloggedVegetationPatchFeature
net.minecraft.class_5923
net.minecraft.world.gen.feature.WaterloggedVegetationPatchFeature

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WaterloggedVegetationPatchFeature>
CODEC
field_1_7925
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntryList<Block> replaceable, BlockStateProvider groundState, RegistryEntry<PlacedFeature> vegetationFeature, VerticalSurfaceType surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider xzRadius, float extraEdgeColumnChance)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<WaterloggedVegetationPatchFeature>
codec()
method_1_6879()
getCodec()
public Set<BlockPos>
placeGroundPatch(WorldGenLevel level, RandomSource random, BlockPos origin, Predicate<BlockState> replaceable, int xRadius, int zRadius)
method_34316(class_5281 arg0, class_5819 arg1, class_2338 arg2, Predicate<class_2680> arg3, int arg4, int arg5)
placeGroundAndGetPositions(StructureWorldAccess arg0, Random arg1, BlockPos arg2, Predicate<BlockState> arg3, int arg4, int arg5)
private static boolean
isExposed(WorldGenLevel level, Set<BlockPos> surface, BlockPos pos, BlockPos$MutableBlockPos testPos)
method_34323(class_5281 arg0, Set<class_2338> arg1, class_2338 arg2, class_2338$class_2339 arg3)
isSolidBlockAroundPos(StructureWorldAccess world, Set<BlockPos> positions, BlockPos pos, BlockPos$Mutable mutablePos)
private static boolean
isExposedDirection(WorldGenLevel level, BlockPos pos, BlockPos$MutableBlockPos testPos, Direction direction)
method_34322(class_5281 arg0, class_2338 arg1, class_2338$class_2339 arg2, class_2350 arg3)
isSolidBlockSide(StructureWorldAccess world, BlockPos pos, BlockPos$Mutable mutablePos, Direction direction)
protected boolean
placeVegetation(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos placementPos)
method_34315(class_5281 arg0, class_2794 arg1, class_5819 arg2, class_2338 arg3)
generateVegetationFeature(StructureWorldAccess arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3)