net.minecraft.data.worldgen.placement

public class PlacementUtils

tb
net.minecraft.data.worldgen.placement.PlacementUtils
net.minecraft.class_6817
net.minecraft.world.gen.feature.PlacedFeatures
net.minecraft.data.worldgen.placement.PlacementUtils

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(rk<eno> arg0)
bootstrap(BootstrapContext<PlacedFeature> arg0)
method_39735(class_7891<class_6796> arg0)
bootstrap(Registerable<PlacedFeature> featureRegisterable)
public static ResourceKey<PlacedFeature>
a(String arg0)
createKey(String arg0)
method_46865(String arg0)
of(String id)
public static void
a(rk<eno> arg0, aly<eno> arg1, jq<egi<?, ?>> arg2, List<enr> 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)
public static void
a(rk<eno> arg0, aly<eno> arg1, jq<egi<?, ?>> arg2, enr... 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)
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)
public static PlacementFilter
a()
isEmpty()
method_40371()
isAir()
public static BlockPredicateFilter
a(dkm arg0)
filteredByBlockSurvival(Block arg0)
method_40365(class_2248 arg0)
wouldSurvive(Block block)
public static Holder<PlacedFeature>
a(jq<egi<?, ?>> arg0, enr... arg1)
inlinePlaced(Holder<ConfiguredFeature<?, ?>> arg0, PlacementModifier... arg1)
method_40369(class_6880<class_2975<?, ?>> arg0, class_6797... arg1)
createEntry(RegistryEntry<ConfiguredFeature<?, ?>> feature, PlacementModifier... modifiers)
public static <FC extends FeatureConfiguration, F extends Feature<FC>> Holder<PlacedFeature>
a(F arg0, FC arg1, enr... arg2)
inlinePlaced(F arg0, FC arg1, PlacementModifier... arg2)
method_40368(F arg0, FC arg1, class_6797... arg2)
createEntry(F feature, FC featureConfig, PlacementModifier... modifiers)
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)
public static <FC extends FeatureConfiguration, F extends Feature<FC>> Holder<PlacedFeature>
a(F arg0, FC arg1, eex arg2)
filtered(F arg0, FC arg1, BlockPredicate arg2)
method_40367(F arg0, FC arg1, class_6646 arg2)
createEntry(F feature, FC featureConfig, BlockPredicate predicate)