Class McRegionUpgrader
java.lang.Object
net.minecraft.world.level.storage.McRegionUpgrader
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.logging.log4j.Logger
private static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addRegionFiles(File p_78423_, Collection<File> p_78424_)
(package private) static boolean
convertLevel(LevelStorageSource.LevelStorageAccess p_78401_, ProgressListener p_78402_)
private static void
convertRegion(RegistryAccess.RegistryHolder p_78404_, File p_78405_, File p_78406_, BiomeSource p_78407_, int p_78408_, int p_78409_, ProgressListener p_78410_)
private static void
convertRegions(RegistryAccess.RegistryHolder p_78412_, File p_78413_, Iterable<File> p_78414_, BiomeSource p_78415_, int p_78416_, int p_78417_, ProgressListener p_78418_)
private static void
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
MCREGION_EXTENSION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
McRegionUpgrader
public McRegionUpgrader()
-
-
Method Details
-
convertLevel
static boolean convertLevel(LevelStorageSource.LevelStorageAccess p_78401_, ProgressListener p_78402_) -
makeMcrLevelDatBackup
-
convertRegions
private static void convertRegions(RegistryAccess.RegistryHolder p_78412_, File p_78413_, Iterable<File> p_78414_, BiomeSource p_78415_, int p_78416_, int p_78417_, ProgressListener p_78418_) -
convertRegion
private static void convertRegion(RegistryAccess.RegistryHolder p_78404_, File p_78405_, File p_78406_, BiomeSource p_78407_, int p_78408_, int p_78409_, ProgressListener p_78410_) -
addRegionFiles
-