net.minecraft.world.gen.feature

public record FossilFeature

implements Feature

net.minecraft.world.level.levelgen.feature.FossilFeature
net.minecraft.world.level.levelgen.feature.FossilFeature
net.minecraft.class_3044
net.minecraft.world.gen.feature.FossilFeature

Field summary

Modifier and TypeField
private final List<Identifier>
fossilStructures
fossilStructures
comp_1_994
fossilStructures
private final List<Identifier>
overlayStructures
overlayStructures
comp_1_997
overlayStructures
private final RegistryEntry<StructureProcessorList>
fossilProcessors
fossilProcessors
comp_1_993
fossilProcessors
private final RegistryEntry<StructureProcessorList>
overlayProcessors
overlayProcessors
comp_1_996
overlayProcessors
private final int
maxEmptyCornersAllowed
maxEmptyCornersAllowed
comp_1_995
maxEmptyCornersAllowed
public static final com.mojang.serialization.MapCodec<FossilFeature>
CODEC
CODEC
field_1_7667
CODEC

Constructor summary

ModifierConstructor
public (List<Identifier> fossilStructures, List<Identifier> overlayStructures, RegistryEntry<StructureProcessorList> fossilProcessors, RegistryEntry<StructureProcessorList> overlayProcessors, int maxEmptyCornersAllowed)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<FossilFeature>
codec()
codec()
method_1_6879()
getCodec()
public boolean
place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin)
place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin)
method_13151(class_5281 arg0, class_2794 arg1, class_5819 arg2, class_2338 arg3)
generate(StructureWorldAccess arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3)
private static int
countEmptyCorners(WorldGenLevel level, BoundingBox structureBounds)
countEmptyCorners(WorldGenLevel level, BoundingBox structureBounds)
method_34295(class_5281 arg0, class_3341 arg1)
getEmptyCorners(StructureWorldAccess world, BlockBox box)
public List<Identifier>
fossilStructures()
fossilStructures()
comp_1_994()
fossilStructures()
public List<Identifier>
overlayStructures()
overlayStructures()
comp_1_997()
overlayStructures()
public RegistryEntry<StructureProcessorList>
fossilProcessors()
fossilProcessors()
comp_1_993()
fossilProcessors()
public RegistryEntry<StructureProcessorList>
overlayProcessors()
overlayProcessors()
comp_1_996()
overlayProcessors()
public int
maxEmptyCornersAllowed()
maxEmptyCornersAllowed()
comp_1_995()
maxEmptyCornersAllowed()