net.minecraft.world.level.levelgen.placement

public record PlacedFeature

eno
net.minecraft.world.level.levelgen.placement.PlacedFeature
net.minecraft.class_6796
net.minecraft.world.gen.feature.PlacedFeature
net.minecraft.world.level.levelgen.placement.PlacedFeature

Field summary

Modifier and TypeField
private final Holder<ConfiguredFeature<?, ?>>
e
feature
comp_334
feature
private final List<PlacementModifier>
f
placement
comp_335
placementModifiers
public static final com.mojang.serialization.Codec<PlacedFeature>
a
DIRECT_CODEC
field_35729
CODEC
public static final com.mojang.serialization.Codec<Holder<PlacedFeature>>
b
CODEC
field_35730
REGISTRY_CODEC
public static final com.mojang.serialization.Codec<HolderSet<PlacedFeature>>
c
LIST_CODEC
field_35731
LIST_CODEC
public static final com.mojang.serialization.Codec<List<HolderSet<PlacedFeature>>>
d
LIST_OF_LISTS_CODEC
field_36416
LISTS_CODEC

Constructor summary

ModifierConstructor
public (Holder<ConfiguredFeature<?, ?>> arg0, List<PlacementModifier> placementModifiers)

Method summary

Modifier and TypeMethod
public boolean
a(dig arg0, dzr arg1, bam arg2, jh arg3)
place(WorldGenLevel arg0, ChunkGenerator arg1, RandomSource arg2, BlockPos arg3)
method_39644(class_5281 arg0, class_2794 arg1, class_5819 arg2, class_2338 arg3)
generateUnregistered(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos)
public boolean
b(dig arg0, dzr arg1, bam arg2, jh arg3)
placeWithBiomeCheck(WorldGenLevel arg0, ChunkGenerator arg1, RandomSource arg2, BlockPos arg3)
method_39650(class_5281 arg0, class_2794 arg1, class_5819 arg2, class_2338 arg3)
generate(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos)
private boolean
a(enp arg0, bam arg1, jh arg2)
placeWithContext(PlacementContext arg0, RandomSource arg1, BlockPos arg2)
method_39648(class_5444 arg0, class_5819 arg1, class_2338 arg2)
generate(FeaturePlacementContext context, Random random, BlockPos pos)
public Stream<ConfiguredFeature<?, ?>>
a()
getFeatures()
method_39643()
getDecoratedFeatures()
public Holder<ConfiguredFeature<?, ?>>
b()
feature()
comp_334()
feature()
public List<PlacementModifier>
c()
placement()
comp_335()
placementModifiers()