Code/net/minecraft/client/gui/screens/worldselection/CreateWorldCallback.java

15 lines
600 B
Java
Raw Permalink Normal View History

2025-07-01 06:20:03 +00:00
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<RegistryLayer> p_369104_, PrimaryLevelData p_369111_, @Nullable Path p_363769_);
}