net.minecraft.world.level.levelgen.placement

public record PlacedFeature

djj
net.minecraft.world.level.levelgen.placement.PlacedFeature
net.minecraft.class_6796
net.minecraft.world.gen.feature.PlacedFeature
net.minecraft.src.C_183014_
net.minecraft.world.level.levelgen.placement.PlacedFeature

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(cgs arg0, cwn arg1, alu arg2, gt 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 arg2, BlockPos pos)
m_226357_(C_1625_ p_226359_, C_2118_ p_226360_, C_212974_ p_226361_, C_4675_ arg3)
public boolean
b(cgs arg0, cwn arg1, alu arg2, gt 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 arg2, BlockPos pos)
m_226377_(C_1625_ p_226379_, C_2118_ p_226380_, C_212974_ p_226381_, C_4675_ arg3)
private boolean
a(djk arg0, alu arg1, gt arg2)
placeWithContext(PlacementContext arg0, RandomSource arg1, BlockPos arg2)
method_39648(class_5444 arg0, class_5819 arg1, class_2338 arg2)
generate(FeaturePlacementContext context, Random arg1, BlockPos pos)
m_226368_(C_183015_ p_226370_, C_212974_ p_226371_, C_4675_ arg2)
public Stream<ConfiguredFeature<?, ?>>
a()
getFeatures()
method_39643()
getDecoratedFeatures()
m_191781_()
public Holder<ConfiguredFeature<?, ?>>
b()
feature()
comp_334()
feature()
f_191775_()
public List<PlacementModifier>
c()
placement()
comp_335()
placementModifiers()
f_191776_()