WorldCreationContextMapper .java

net.minecraft.client.gui.screens.worldselection.WorldCreationContextMapper (interface): members: apply. ann: @FunctionalInterface. imports: RegistryLayer.

net.minecraft.client.gui.screens.worldselectioninterface14 linesclient535 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (5)

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

Full Source

WorldCreationContextMapper.java14 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.gui.screens.worldselection;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.core.LayeredRegistryAccess;
6
import net.minecraft.server.RegistryLayer;
7
import net.minecraft.server.ReloadableServerResources;
8
9
@FunctionalInterface
10
@Environment(EnvType.CLIENT)
11
public interface WorldCreationContextMapper {
12
	WorldCreationContext apply(final ReloadableServerResources managers, final LayeredRegistryAccess<RegistryLayer> registries, final DataPackReloadCookie cookie);
13
}
14

Decompiled Minecraft 26.3 source of WorldCreationContextMapper (net/minecraft/client/gui/screens/worldselection/WorldCreationContextMapper.java) with Mojang official mappings, stored verbatim on the site.