Created
June 23, 2024 16:59
-
-
Save bconlon1/4a359989a13367a0f6f92854a23e0b93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void preInit(FMLPreInitializationEvent event) { | |
System.out.println("BBBBBBBBBBBBBBBBBBB"); | |
File moo = ForgetTheOtherMethodsThisIsWhereTheMagicHappens.getJarName(); | |
AetherConfig.init(event.getModConfigurationDirectory()); | |
Side side = FMLCommonHandler.instance().getEffectiveSide(); | |
if (AetherConfig.shouldRefetch() && side.isClient()) { | |
System.out.println("HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH refetching"); | |
new ForgetTheOtherMethodsThisIsWhereTheMagicHappens(); | |
if (!ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://mediafilez.forgecdn.net/files/2273/367/aether-1.7.10-1.6.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://web.archive.org/web/20240124165801if_/https://mediafilez.forgecdn.net/files/2273/367/aether-1.7.10-1.6.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://mediafilez.forgecdn.net/files/2273/367/aether-1.7.10-1.6.jar") && ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://web.archive.org/web/20240124165801if_/https://mediafilez.forgecdn.net/files/2273/367/aether-1.7.10-1.6.jar")) { | |
} | |
ForgetTheOtherMethodsThisIsWhereTheMagicHappens.renameThingy(); | |
if (!ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://cdn.modrinth.com/data/JD2NSu5O/versions/cZNxPTqa/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://mediafilez.forgecdn.net/files/2960/610/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://cdn.modrinth.com/data/JD2NSu5O/versions/cZNxPTqa/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://mediafilez.forgecdn.net/files/2960/610/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://web.archive.org/web/20240124165707if_/https://mediafilez.forgecdn.net/files/2960/610/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://web.archive.org/web/20231223214741if_/https://cdn.modrinth.com/data/JD2NSu5O/versions/cZNxPTqa/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://web.archive.org/web/20240124165707if_/https://mediafilez.forgecdn.net/files/2960/610/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar") && ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://web.archive.org/web/20231223214741if_/https://cdn.modrinth.com/data/JD2NSu5O/versions/cZNxPTqa/aether_ii-1.12.2-0.3.0%2Bbuild411-universal.jar")) { | |
} | |
if (!ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://cdn.modrinth.com/data/YhmgMVyu/versions/4NuI8eHN/aether-1.7.10-v1.1.2.3.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://mediafilez.forgecdn.net/files/5028/330/aether-1.7.10-v1.1.2.3.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://cdn.modrinth.com/data/YhmgMVyu/versions/4NuI8eHN/aether-1.7.10-v1.1.2.3.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://mediafilez.forgecdn.net/files/5028/330/aether-1.7.10-v1.1.2.3.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://web.archive.org/web/20240126131524if_/https://mediafilez.forgecdn.net/files/5028/330/aether-1.7.10-v1.1.2.3.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("https://web.archive.org/web/20240229181232if_/https://cdn.modrinth.com/data/YhmgMVyu/versions/4NuI8eHN/aether-1.7.10-v1.1.2.3.jar") && !ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://web.archive.org/web/20240126131524if_/https://mediafilez.forgecdn.net/files/5028/330/aether-1.7.10-v1.1.2.3.jar") && ForgetTheOtherMethodsThisIsWhereTheMagicHappens.download("http://web.archive.org/web/20240229181232if_/https://cdn.modrinth.com/data/YhmgMVyu/versions/4NuI8eHN/aether-1.7.10-v1.1.2.3.jar")) { | |
} | |
System.out.println("Fetching aether assets complete"); | |
File modName = ForgetTheOtherMethodsThisIsWhereTheMagicHappens.getJarName(); | |
try { | |
ForgetTheOtherMethodsThisIsWhereTheMagicHappens.updateJar(modName); | |
} catch (Exception var7) { | |
Exception e = var7; | |
e.printStackTrace(); | |
} | |
AetherConfig.fetched(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment