Package net.minecraft.server
Class Main
java.lang.Object
net.minecraft.server.Main
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
forceUpgrade
(LevelStorageSource.LevelStorageAccess p_195489_, com.mojang.datafixers.DataFixer p_195490_, boolean p_195491_, BooleanSupplier p_195492_, Registry<LevelStem> p_250443_) private static WorldLoader.InitConfig
loadOrCreateConfig
(DedicatedServerProperties p_248563_, com.mojang.serialization.Dynamic<?> p_307444_, boolean p_249093_, PackRepository p_251069_) static void
private static void
writePidFile
(Path p_270192_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
- Throws:
Exception
-
writePidFile
-
loadOrCreateConfig
private static WorldLoader.InitConfig loadOrCreateConfig(DedicatedServerProperties p_248563_, @Nullable com.mojang.serialization.Dynamic<?> p_307444_, boolean p_249093_, PackRepository p_251069_) -
forceUpgrade
private static void forceUpgrade(LevelStorageSource.LevelStorageAccess p_195489_, com.mojang.datafixers.DataFixer p_195490_, boolean p_195491_, BooleanSupplier p_195492_, Registry<LevelStem> p_250443_)
-