minecraft-src/net/minecraft/client/gui/screens/worldselection/WorldCreationContextMapper.java
2025-07-04 02:00:41 +03:00

15 lines
564 B
Java

package net.minecraft.client.gui.screens.worldselection;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.core.LayeredRegistryAccess;
import net.minecraft.server.RegistryLayer;
import net.minecraft.server.ReloadableServerResources;
@FunctionalInterface
@Environment(EnvType.CLIENT)
public interface WorldCreationContextMapper {
WorldCreationContext apply(
ReloadableServerResources reloadableServerResources, LayeredRegistryAccess<RegistryLayer> layeredRegistryAccess, DataPackReloadCookie dataPackReloadCookie
);
}