Package net.minecraft.server.players
Class OldUsersConverter
java.lang.Object
net.minecraft.server.players.OldUsersConverter
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
areOldPlayersConverted(MinecraftServer p_11109_)
private static boolean
static boolean
convertIpBanlist(MinecraftServer p_11099_)
static UUID
convertMobOwnerIfNecessary(MinecraftServer p_11084_, String p_11085_)
static boolean
convertOpsList(MinecraftServer p_11103_)
static boolean
convertPlayers(DedicatedServer p_11091_)
static boolean
convertUserBanlist(MinecraftServer p_11082_)
static boolean
convertWhiteList(MinecraftServer p_11105_)
(package private) static void
ensureDirectoryExists(File p_11094_)
private static File
getWorldPlayersDirectory(MinecraftServer p_11111_)
private static void
lookupPlayers(MinecraftServer p_11087_, Collection<String> p_11088_, com.mojang.authlib.ProfileLookupCallback p_11089_)
(package private) static Date
readOldListFormat(File p_11074_, Map<String,String[]> p_11075_)
private static void
renameOldFile(File p_11101_)
static boolean
serverReadyAfterUserconversion(MinecraftServer p_11107_)
-
Field Details
-
LOGGER
static final org.apache.logging.log4j.Logger LOGGER -
OLD_IPBANLIST
-
OLD_USERBANLIST
-
OLD_OPLIST
-
OLD_WHITELIST
-
-
Constructor Details
-
OldUsersConverter
public OldUsersConverter()
-
-
Method Details
-
readOldListFormat
static List<String> readOldListFormat(File p_11074_, Map<String,String[]> p_11075_) throws IOException- Throws:
IOException
-
lookupPlayers
private static void lookupPlayers(MinecraftServer p_11087_, Collection<String> p_11088_, com.mojang.authlib.ProfileLookupCallback p_11089_) -
convertUserBanlist
-
convertIpBanlist
-
convertOpsList
-
convertWhiteList
-
convertMobOwnerIfNecessary
-
convertPlayers
-
ensureDirectoryExists
-
serverReadyAfterUserconversion
-
areOldUserlistsRemoved
private static boolean areOldUserlistsRemoved() -
areOldPlayersConverted
-
getWorldPlayersDirectory
-
renameOldFile
-
parseDate
-