net.minecraft.data.worldgen.placement

public class PlacementUtils

nt
net.minecraft.data.worldgen.placement.PlacementUtils
net.minecraft.class_6817
net.minecraft.world.gen.feature.PlacedFeatures
net.minecraft.src.C_183103_
net.minecraft.data.worldgen.placement.PlacementUtils

Field summary

Modifier and TypeField
public static final PlacementModifier
a
HEIGHTMAP
field_36078
MOTION_BLOCKING_HEIGHTMAP
f_195352_
public static final PlacementModifier
b
HEIGHTMAP_TOP_SOLID
field_36079
OCEAN_FLOOR_WG_HEIGHTMAP
f_195353_
public static final PlacementModifier
c
HEIGHTMAP_WORLD_SURFACE
field_36080
WORLD_SURFACE_WG_HEIGHTMAP
f_195354_
public static final PlacementModifier
d
HEIGHTMAP_OCEAN_FLOOR
field_36081
OCEAN_FLOOR_HEIGHTMAP
f_195355_
public static final PlacementModifier
e
FULL_RANGE
field_36082
BOTTOM_TO_TOP_RANGE
f_195356_
public static final PlacementModifier
f
RANGE_10_10
field_36083
TEN_ABOVE_AND_BELOW_RANGE
f_195357_
public static final PlacementModifier
g
RANGE_8_8
field_36084
EIGHT_ABOVE_AND_BELOW_RANGE
f_195358_
public static final PlacementModifier
h
RANGE_4_4
field_36085
FOUR_ABOVE_AND_BELOW_RANGE
f_195359_
public static final PlacementModifier
i
RANGE_BOTTOM_TO_MAX_TERRAIN_HEIGHT
field_36086
BOTTOM_TO_120_RANGE
f_195360_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Holder<PlacedFeature>
a(hm<djj> arg0)
bootstrap(Registry<PlacedFeature> arg0)
method_39735(class_2378<class_6796> arg0)
getDefaultPlacedFeature(Registry<PlacedFeature> arg0)
m_236769_(C_4705_<C_183014_> p_236770_)
public static Holder<PlacedFeature>
a(String arg0, hc<? extends dcj<?, ?>> arg1, List<djm> arg2)
register(String arg0, Holder<? extends ConfiguredFeature<?, ?>> arg1, List<PlacementModifier> arg2)
method_39737(String arg0, class_6880<? extends class_2975<?, ?>> arg1, List<class_6797> arg2)
register(String id, RegistryEntry<? extends ConfiguredFeature<?, ?>> registryEntry, List<PlacementModifier> modifiers)
m_206509_(String p_206510_, C_203228_<? extends C_2227_<?, ?>> p_206511_, List<C_183017_> p_206512_)
public static Holder<PlacedFeature>
a(String arg0, hc<? extends dcj<?, ?>> arg1, djm... arg2)
register(String arg0, Holder<? extends ConfiguredFeature<?, ?>> arg1, PlacementModifier... arg2)
method_40370(String arg0, class_6880<? extends class_2975<?, ?>> arg1, class_6797... arg2)
register(String id, RegistryEntry<? extends ConfiguredFeature<?, ?>> registryEntry, PlacementModifier... modifiers)
m_206513_(String p_206514_, C_203228_<? extends C_2227_<?, ?>> p_206515_, C_183017_... p_206516_)
public static PlacementModifier
a(int arg0, float arg1, int arg2)
countExtra(int arg0, float arg1, int arg2)
method_39736(int arg0, float arg1, int arg2)
createCountExtraModifier(int count, float extraChance, int extraCount)
m_195364_(int p_195365_, float p_195366_, int p_195367_)
public static PlacementFilter
a()
isEmpty()
method_40371()
isAir()
m_206517_()
public static BlockPredicateFilter
a(ciw arg0)
filteredByBlockSurvival(Block arg0)
method_40365(class_2248 arg0)
wouldSurvive(Block block)
m_206493_(C_1706_ p_206494_)
public static Holder<PlacedFeature>
a(hc<? extends dcj<?, ?>> arg0, djm... arg1)
inlinePlaced(Holder<? extends ConfiguredFeature<?, ?>> arg0, PlacementModifier... arg1)
method_40369(class_6880<? extends class_2975<?, ?>> arg0, class_6797... arg1)
createEntry(RegistryEntry<? extends ConfiguredFeature<?, ?>> registryEntry, PlacementModifier... modifiers)
m_206506_(C_203228_<? extends C_2227_<?, ?>> p_206507_, C_183017_... p_206508_)
public static <FC extends FeatureConfiguration, F extends Feature<FC>> Holder<PlacedFeature>
a(F arg0, FC arg1, djm... arg2)
inlinePlaced(F arg0, FC arg1, PlacementModifier... arg2)
method_40368(F arg0, FC arg1, class_6797... arg2)
createEntry(F feature, FC featureConfig, PlacementModifier... modifiers)
m_206502_(F p_206503_, FC p_206504_, C_183017_... p_206505_)
public static <FC extends FeatureConfiguration, F extends Feature<FC>> Holder<PlacedFeature>
a(F arg0, FC arg1)
onlyWhenEmpty(F arg0, FC arg1)
method_40366(F arg0, FC arg1)
createEntry(F feature, FC featureConfig)
m_206495_(F p_206496_, FC p_206497_)
public static <FC extends FeatureConfiguration, F extends Feature<FC>> Holder<PlacedFeature>
a(F arg0, FC arg1, daz arg2)
filtered(F arg0, FC arg1, BlockPredicate arg2)
method_40367(F arg0, FC arg1, class_6646 arg2)
createEntry(F feature, FC featureConfig, BlockPredicate predicate)
m_206498_(F p_206499_, FC p_206500_, C_182966_ p_206501_)