net.minecraft.data.worldgen.placement

public class PlacementUtils

sx
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 void
a(rc<ehq> arg0)
bootstrap(BootstrapContext<PlacedFeature> arg0)
method_39735(class_7891<class_6796> arg0)
bootstrap(Registerable<PlacedFeature> featureRegisterable)
m_255199_(C_313275_<C_183014_> p_333757_)
public static ResourceKey<PlacedFeature>
a(String arg0)
createKey(String arg0)
method_46865(String arg0)
of(String id)
m_255070_(String p_256293_)
public static void
a(rc<ehq> arg0, ale<ehq> arg1, ji<ean<?, ?>> arg2, List<eht> arg3)
register(BootstrapContext<PlacedFeature> arg0, ResourceKey<PlacedFeature> arg1, Holder<ConfiguredFeature<?, ?>> arg2, List<PlacementModifier> arg3)
method_39737(class_7891<class_6796> arg0, class_5321<class_6796> arg1, class_6880<class_2975<?, ?>> arg2, List<class_6797> arg3)
register(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?, ?>> feature, List<PlacementModifier> modifiers)
m_254943_(C_313275_<C_183014_> p_334230_, C_5264_<C_183014_> p_255820_, C_203228_<C_2227_<?, ?>> p_255813_, List<C_183017_> p_256042_)
public static void
a(rc<ehq> arg0, ale<ehq> arg1, ji<ean<?, ?>> arg2, eht... arg3)
register(BootstrapContext<PlacedFeature> arg0, ResourceKey<PlacedFeature> arg1, Holder<ConfiguredFeature<?, ?>> arg2, PlacementModifier... arg3)
method_40370(class_7891<class_6796> arg0, class_5321<class_6796> arg1, class_6880<class_2975<?, ?>> arg2, class_6797... arg3)
register(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?, ?>> feature, PlacementModifier... modifiers)
m_255206_(C_313275_<C_183014_> p_334879_, C_5264_<C_183014_> p_256614_, C_203228_<C_2227_<?, ?>> p_255855_, C_183017_... p_256413_)
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(dfb arg0)
filteredByBlockSurvival(Block arg0)
method_40365(class_2248 arg0)
wouldSurvive(Block block)
m_206493_(C_1706_ p_206494_)
public static Holder<PlacedFeature>
a(ji<ean<?, ?>> arg0, eht... arg1)
inlinePlaced(Holder<ConfiguredFeature<?, ?>> arg0, PlacementModifier... arg1)
method_40369(class_6880<class_2975<?, ?>> arg0, class_6797... arg1)
createEntry(RegistryEntry<ConfiguredFeature<?, ?>> feature, PlacementModifier... modifiers)
m_206506_(C_203228_<C_2227_<?, ?>> p_206507_, C_183017_... p_206508_)
public static <FC extends FeatureConfiguration, F extends Feature<FC>> Holder<PlacedFeature>
a(F arg0, FC arg1, eht... 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, dzd 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_)