BiomeSources .java

net.minecraft.world.level.biome.BiomeSources (class): members: bootstrap. strings: "checkerboard", "multi_noise", "fixed", "the_end". imports: Registry.

net.minecraft.world.level.biomeclass14 linescommon568 B

API Surface (1)

MapCodec<? extends BiomeSource> bootstrap(final Registry<MapCodec<? extends BiomeSource>> registry)

String literals (4)

"fixed"
"multi_noise"
"checkerboard"
"the_end"

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

BiomeSources.java14 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.biome;
2
3
import com.mojang.serialization.MapCodec;
4
import net.minecraft.core.Registry;
5
6
public class BiomeSources {
7
	public static MapCodec<? extends BiomeSource> bootstrap(final Registry<MapCodec<? extends BiomeSource>> registry) {
8
		Registry.register(registry, "fixed", FixedBiomeSource.CODEC);
9
		Registry.register(registry, "multi_noise", MultiNoiseBiomeSource.CODEC);
10
		Registry.register(registry, "checkerboard", CheckerboardColumnBiomeSource.CODEC);
11
		return Registry.register(registry, "the_end", TheEndBiomeSource.CODEC);
12
	}
13
}
14

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