package net.minecraft.client.gui.screens.worldselection; import java.nio.file.Path; import javax.annotation.Nullable; import net.minecraft.core.LayeredRegistryAccess; import net.minecraft.server.RegistryLayer; import net.minecraft.world.level.storage.PrimaryLevelData; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; @FunctionalInterface @OnlyIn(Dist.CLIENT) public interface CreateWorldCallback { boolean create(CreateWorldScreen p_364262_, LayeredRegistryAccess p_369104_, PrimaryLevelData p_369111_, @Nullable Path p_363769_); }