Noises .java

net.minecraft.world.level.levelgen.Noises (class, 86 lines): members: AQUIFER_FLUID_LEVEL_FLOODEDNESS, SPAGHETTI_ROUGHNESS_MODULATOR, BADLANDS_PILLAR_ROOF.

net.minecraft.world.level.levelgenclass86 linescommon6.6 KB

API Surface (1)

Noise instantiate(final HolderGetter<NormalNoise> noises, final PositionalRandomFactory context, final ResourceKey<NormalNoise> name)

Fields & Constants (64)

TEMPERATURE
VEGETATION
CONTINENTALNESS
EROSION
TEMPERATURE_LARGE
VEGETATION_LARGE
CONTINENTALNESS_LARGE
EROSION_LARGE
RIDGE
SHIFT
TEMPERATURE_NETHER
VEGETATION_NETHER
AQUIFER_BARRIER
AQUIFER_FLUID_LEVEL_FLOODEDNESS
AQUIFER_LAVA
AQUIFER_FLUID_LEVEL_SPREAD
PILLAR
PILLAR_RARENESS
PILLAR_THICKNESS
SPAGHETTI_2D
SPAGHETTI_2D_ELEVATION
SPAGHETTI_2D_MODULATOR
SPAGHETTI_2D_THICKNESS
SPAGHETTI_3D_1
SPAGHETTI_3D_2
SPAGHETTI_3D_RARITY
SPAGHETTI_3D_THICKNESS
SPAGHETTI_ROUGHNESS
SPAGHETTI_ROUGHNESS_MODULATOR
CAVE_ENTRANCE
CAVE_LAYER
CAVE_CHEESE
ORE_VEININESS
ORE_VEIN_A
ORE_VEIN_B
ORE_GAP
NOODLE
NOODLE_THICKNESS
NOODLE_RIDGE_A
NOODLE_RIDGE_B
JAGGED
SURFACE
SURFACE_SECONDARY
CLAY_BANDS_OFFSET
BADLANDS_PILLAR
BADLANDS_PILLAR_ROOF
BADLANDS_SURFACE
ICEBERG_PILLAR
ICEBERG_PILLAR_ROOF
ICEBERG_SURFACE
SULFUR_CAVE_GRADIENT
SWAMP
CALCITE
GRAVEL
POWDER_SNOW
PACKED_ICE
ICE
SOUL_SAND_LAYER
GRAVEL_LAYER
PATCH
SMALL_PATCH
NETHERRACK
NETHER_WART
NETHER_STATE_SELECTOR

String literals (63)

"temperature"
"vegetation"
"continentalness"
"erosion"
"temperature_large"
"vegetation_large"
"continentalness_large"
"erosion_large"
"ridge"
"offset"
"nether/temperature"
"nether/vegetation"
"aquifer_barrier"
"aquifer_fluid_level_floodedness"
"aquifer_lava"
"aquifer_fluid_level_spread"
"pillar"
"pillar_rareness"
"pillar_thickness"
"spaghetti_2d"
"spaghetti_2d_elevation"
"spaghetti_2d_modulator"
"spaghetti_2d_thickness"
"spaghetti_3d_1"

Full Source

Noises.java86 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.levelgen;
2
3
import net.minecraft.core.Holder;
4
import net.minecraft.core.HolderGetter;
5
import net.minecraft.core.registries.Registries;
6
import net.minecraft.resources.Identifier;
7
import net.minecraft.resources.ResourceKey;
8
import net.minecraft.world.level.levelgen.synth.Noise;
9
import net.minecraft.world.level.levelgen.synth.NormalNoise;
10
11
public class Noises {
12
	public static final ResourceKey<NormalNoise> TEMPERATURE = createKey("temperature");
13
	public static final ResourceKey<NormalNoise> VEGETATION = createKey("vegetation");
14
	public static final ResourceKey<NormalNoise> CONTINENTALNESS = createKey("continentalness");
15
	public static final ResourceKey<NormalNoise> EROSION = createKey("erosion");
16
	public static final ResourceKey<NormalNoise> TEMPERATURE_LARGE = createKey("temperature_large");
17
	public static final ResourceKey<NormalNoise> VEGETATION_LARGE = createKey("vegetation_large");
18
	public static final ResourceKey<NormalNoise> CONTINENTALNESS_LARGE = createKey("continentalness_large");
19
	public static final ResourceKey<NormalNoise> EROSION_LARGE = createKey("erosion_large");
20
	public static final ResourceKey<NormalNoise> RIDGE = createKey("ridge");
21
	public static final ResourceKey<NormalNoise> SHIFT = createKey("offset");
22
	public static final ResourceKey<NormalNoise> TEMPERATURE_NETHER = createKey("nether/temperature");
23
	public static final ResourceKey<NormalNoise> VEGETATION_NETHER = createKey("nether/vegetation");
24
	public static final ResourceKey<NormalNoise> AQUIFER_BARRIER = createKey("aquifer_barrier");
25
	public static final ResourceKey<NormalNoise> AQUIFER_FLUID_LEVEL_FLOODEDNESS = createKey("aquifer_fluid_level_floodedness");
26
	public static final ResourceKey<NormalNoise> AQUIFER_LAVA = createKey("aquifer_lava");
27
	public static final ResourceKey<NormalNoise> AQUIFER_FLUID_LEVEL_SPREAD = createKey("aquifer_fluid_level_spread");
28
	public static final ResourceKey<NormalNoise> PILLAR = createKey("pillar");
29
	public static final ResourceKey<NormalNoise> PILLAR_RARENESS = createKey("pillar_rareness");
30
	public static final ResourceKey<NormalNoise> PILLAR_THICKNESS = createKey("pillar_thickness");
31
	public static final ResourceKey<NormalNoise> SPAGHETTI_2D = createKey("spaghetti_2d");
32
	public static final ResourceKey<NormalNoise> SPAGHETTI_2D_ELEVATION = createKey("spaghetti_2d_elevation");
33
	public static final ResourceKey<NormalNoise> SPAGHETTI_2D_MODULATOR = createKey("spaghetti_2d_modulator");
34
	public static final ResourceKey<NormalNoise> SPAGHETTI_2D_THICKNESS = createKey("spaghetti_2d_thickness");
35
	public static final ResourceKey<NormalNoise> SPAGHETTI_3D_1 = createKey("spaghetti_3d_1");
36
	public static final ResourceKey<NormalNoise> SPAGHETTI_3D_2 = createKey("spaghetti_3d_2");
37
	public static final ResourceKey<NormalNoise> SPAGHETTI_3D_RARITY = createKey("spaghetti_3d_rarity");
38
	public static final ResourceKey<NormalNoise> SPAGHETTI_3D_THICKNESS = createKey("spaghetti_3d_thickness");
39
	public static final ResourceKey<NormalNoise> SPAGHETTI_ROUGHNESS = createKey("spaghetti_roughness");
40
	public static final ResourceKey<NormalNoise> SPAGHETTI_ROUGHNESS_MODULATOR = createKey("spaghetti_roughness_modulator");
41
	public static final ResourceKey<NormalNoise> CAVE_ENTRANCE = createKey("cave_entrance");
42
	public static final ResourceKey<NormalNoise> CAVE_LAYER = createKey("cave_layer");
43
	public static final ResourceKey<NormalNoise> CAVE_CHEESE = createKey("cave_cheese");
44
	public static final ResourceKey<NormalNoise> ORE_VEININESS = createKey("ore_veininess");
45
	public static final ResourceKey<NormalNoise> ORE_VEIN_A = createKey("ore_vein_a");
46
	public static final ResourceKey<NormalNoise> ORE_VEIN_B = createKey("ore_vein_b");
47
	public static final ResourceKey<NormalNoise> ORE_GAP = createKey("ore_gap");
48
	public static final ResourceKey<NormalNoise> NOODLE = createKey("noodle");
49
	public static final ResourceKey<NormalNoise> NOODLE_THICKNESS = createKey("noodle_thickness");
50
	public static final ResourceKey<NormalNoise> NOODLE_RIDGE_A = createKey("noodle_ridge_a");
51
	public static final ResourceKey<NormalNoise> NOODLE_RIDGE_B = createKey("noodle_ridge_b");
52
	public static final ResourceKey<NormalNoise> JAGGED = createKey("jagged");
53
	public static final ResourceKey<NormalNoise> SURFACE = createKey("surface");
54
	public static final ResourceKey<NormalNoise> SURFACE_SECONDARY = createKey("surface_secondary");
55
	public static final ResourceKey<NormalNoise> CLAY_BANDS_OFFSET = createKey("clay_bands_offset");
56
	public static final ResourceKey<NormalNoise> BADLANDS_PILLAR = createKey("badlands_pillar");
57
	public static final ResourceKey<NormalNoise> BADLANDS_PILLAR_ROOF = createKey("badlands_pillar_roof");
58
	public static final ResourceKey<NormalNoise> BADLANDS_SURFACE = createKey("badlands_surface");
59
	public static final ResourceKey<NormalNoise> ICEBERG_PILLAR = createKey("iceberg_pillar");
60
	public static final ResourceKey<NormalNoise> ICEBERG_PILLAR_ROOF = createKey("iceberg_pillar_roof");
61
	public static final ResourceKey<NormalNoise> ICEBERG_SURFACE = createKey("iceberg_surface");
62
	public static final ResourceKey<NormalNoise> SULFUR_CAVE_GRADIENT = createKey("sulfur_cave_gradient");
63
	public static final ResourceKey<NormalNoise> SWAMP = createKey("surface_swamp");
64
	public static final ResourceKey<NormalNoise> CALCITE = createKey("calcite");
65
	public static final ResourceKey<NormalNoise> GRAVEL = createKey("gravel");
66
	public static final ResourceKey<NormalNoise> POWDER_SNOW = createKey("powder_snow");
67
	public static final ResourceKey<NormalNoise> PACKED_ICE = createKey("packed_ice");
68
	public static final ResourceKey<NormalNoise> ICE = createKey("ice");
69
	public static final ResourceKey<NormalNoise> SOUL_SAND_LAYER = createKey("soul_sand_layer");
70
	public static final ResourceKey<NormalNoise> GRAVEL_LAYER = createKey("gravel_layer");
71
	public static final ResourceKey<NormalNoise> PATCH = createKey("patch");
72
	public static final ResourceKey<NormalNoise> SMALL_PATCH = createKey("small_patch");
73
	public static final ResourceKey<NormalNoise> NETHERRACK = createKey("netherrack");
74
	public static final ResourceKey<NormalNoise> NETHER_WART = createKey("nether_wart");
75
	public static final ResourceKey<NormalNoise> NETHER_STATE_SELECTOR = createKey("nether_state_selector");
76
77
	private static ResourceKey<NormalNoise> createKey(final String name) {
78
		return ResourceKey.create(Registries.NOISE, Identifier.withDefaultNamespace(name));
79
	}
80
81
	public static Noise instantiate(final HolderGetter<NormalNoise> noises, final PositionalRandomFactory context, final ResourceKey<NormalNoise> name) {
82
		Holder<NormalNoise> holder = noises.getOrThrow(name);
83
		return holder.value().create(context.fromHashOf(name.identifier()));
84
	}
85
}
86

Decompiled Minecraft 26.3 source of Noises (net/minecraft/world/level/levelgen/Noises.java) with Mojang official mappings, stored verbatim on the site.