Package net.minecraft.server.management
Class PreYggdrasilConverter
java.lang.Object
net.minecraft.server.management.PreYggdrasilConverter
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
areOldPlayersConverted
(MinecraftServer p_219589_0_) private static boolean
static boolean
convertIpBanlist
(MinecraftServer p_152722_0_) static UUID
convertMobOwnerIfNecessary
(MinecraftServer p_187473_0_, String p_187473_1_) static boolean
convertOpsList
(MinecraftServer p_152718_0_) static boolean
convertPlayers
(DedicatedServer p_152723_0_) static boolean
convertUserBanlist
(MinecraftServer p_152724_0_) static boolean
convertWhiteList
(MinecraftServer p_152710_0_) private static void
ensureDirectoryExists
(File p_152711_0_) private static File
getWorldPlayersDirectory
(MinecraftServer p_219585_0_) private static void
lookupPlayers
(MinecraftServer p_152717_0_, Collection<String> p_152717_1_, com.mojang.authlib.ProfileLookupCallback p_152717_2_) private static Date
readOldListFormat
(File p_152721_0_, Map<String, String[]> p_152721_1_) private static void
renameOldFile
(File p_152727_0_) static boolean
serverReadyAfterUserconversion
(MinecraftServer p_219587_0_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
OLD_IPBANLIST
-
OLD_USERBANLIST
-
OLD_OPLIST
-
OLD_WHITELIST
-
-
Constructor Details
-
PreYggdrasilConverter
public PreYggdrasilConverter()
-
-
Method Details
-
readOldListFormat
static List<String> readOldListFormat(File p_152721_0_, Map<String, String[]> p_152721_1_) throws IOException- Throws:
IOException
-
lookupPlayers
private static void lookupPlayers(MinecraftServer p_152717_0_, Collection<String> p_152717_1_, com.mojang.authlib.ProfileLookupCallback p_152717_2_) -
convertUserBanlist
-
convertIpBanlist
-
convertOpsList
-
convertWhiteList
-
convertMobOwnerIfNecessary
@Nullable public static UUID convertMobOwnerIfNecessary(MinecraftServer p_187473_0_, String p_187473_1_) -
convertPlayers
-
ensureDirectoryExists
-
serverReadyAfterUserconversion
-
areOldUserlistsRemoved
private static boolean areOldUserlistsRemoved() -
areOldPlayersConverted
-
getWorldPlayersDirectory
-
renameOldFile
-
parseDate
-