Class PreYggdrasilConverter

java.lang.Object
net.minecraft.server.management.PreYggdrasilConverter

public class PreYggdrasilConverter extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • OLD_IPBANLIST

      public static final File OLD_IPBANLIST
    • OLD_USERBANLIST

      public static final File OLD_USERBANLIST
    • OLD_OPLIST

      public static final File OLD_OPLIST
    • OLD_WHITELIST

      public static final File 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

      public static boolean convertUserBanlist(MinecraftServer p_152724_0_)
    • convertIpBanlist

      public static boolean convertIpBanlist(MinecraftServer p_152722_0_)
    • convertOpsList

      public static boolean convertOpsList(MinecraftServer p_152718_0_)
    • convertWhiteList

      public static boolean convertWhiteList(MinecraftServer p_152710_0_)
    • convertMobOwnerIfNecessary

      @Nullable public static UUID convertMobOwnerIfNecessary(MinecraftServer p_187473_0_, String p_187473_1_)
    • convertPlayers

      public static boolean convertPlayers(DedicatedServer p_152723_0_)
    • ensureDirectoryExists

      private static void ensureDirectoryExists(File p_152711_0_)
    • serverReadyAfterUserconversion

      public static boolean serverReadyAfterUserconversion(MinecraftServer p_219587_0_)
    • areOldUserlistsRemoved

      private static boolean areOldUserlistsRemoved()
    • areOldPlayersConverted

      private static boolean areOldPlayersConverted(MinecraftServer p_219589_0_)
    • getWorldPlayersDirectory

      private static File getWorldPlayersDirectory(MinecraftServer p_219585_0_)
    • renameOldFile

      private static void renameOldFile(File p_152727_0_)
    • parseDate

      private static Date parseDate(String p_152713_0_, Date p_152713_1_)