Skip to content

Commit

Permalink
sync 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecdcaeb committed Sep 16, 2024
1 parent eabee44 commit 5ea88d0
Show file tree
Hide file tree
Showing 19 changed files with 640 additions and 276 deletions.
Binary file modified .gradle/4.4.1/taskHistory/taskHistory.bin
Binary file not shown.
Binary file modified run/saves/New World-/data/Stronghold.dat
Binary file not shown.
Binary file modified run/saves/New World-/region/r.-1.0.mca
Binary file not shown.
Binary file modified run/saves/New World-/region/r.0.0.mca
Binary file not shown.
Binary file modified run/saves/New World/region/r.0.0.mca
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* com.Hileb.teampotato.redirectionor.RedirectionorConfig
* cpw.mods.fml.relauncher.CoreModManager
* cpw.mods.fml.relauncher.IFMLLoadingPlugin
* cpw.mods.fml.relauncher.IFMLLoadingPlugin$MCVersion
* cpw.mods.fml.relauncher.IFMLLoadingPlugin$Name
* java.io.File
* java.lang.Exception
* java.lang.Object
* java.lang.RuntimeException
* java.lang.String
* java.lang.Throwable
* java.util.Map
* javax.annotation.Nullable
* org.apache.logging.log4j.LogManager
* org.apache.logging.log4j.Logger
*/
package com.Hileb.teampotato.redirectionor;

import com.Hileb.teampotato.redirectionor.RedirectionorConfig;
import cpw.mods.fml.relauncher.CoreModManager;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
import java.io.File;
import java.util.Map;
import javax.annotation.Nullable;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

@IFMLLoadingPlugin.Name(value="redirectionor")
@IFMLLoadingPlugin.MCVersion(value="1.7.10")
public class Redirectionor
implements IFMLLoadingPlugin {
public static final String MODID = "redirectionor";
public static final Logger LOGGER = LogManager.getLogger((String)"redirectionor");

public Redirectionor() {
try {
RedirectionorConfig.initConfig();
}
catch (Exception e) {
throw new RuntimeException("unable to set up config for redirectionor", (Throwable)e);
}
}

public static void makeFMLCorePluginContainsFMLMod(File file) {
String name = file.getName();
CoreModManager.getIgnoredMods().remove((Object)name);
CoreModManager.getReparseableCoremods().add((Object)name);
}

public String[] getASMTransformerClass() {
return new String[]{"com.Hileb.teampotato.redirectionor.RedirectionorTransformer", "com.Hileb.teampotato.redirectionor.RedirectionorCrashTransformer"};
}

public String getModContainerClass() {
return "com.Hileb.teampotato.redirectionor.RedirectionorContainer";
}

@Nullable
public String getSetupClass() {
return null;
}

public void injectData(Map<String, Object> data) {
}

public String getAccessTransformerClass() {
return null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* java.lang.IllegalArgumentException
* java.lang.Object
* java.lang.String
* java.util.HashSet
* java.util.Locale
*/
package com.Hileb.teampotato.redirectionor;

import java.util.HashSet;
import java.util.Locale;

public static class RedirectionorConfig.Config {
public static boolean generateConfigWhenCrash = true;
public static boolean printTransformedClasses = false;
public static boolean isBlock = true;
public static HashSet<String> contains = new HashSet();
public static HashSet<String> prefix = new HashSet();

public static boolean setBlocking(String s) {
if ("block".equals((Object)s.toLowerCase(Locale.ENGLISH))) {
return true;
}
if ("allow".equals((Object)s.toLowerCase(Locale.ENGLISH))) {
return false;
}
throw new IllegalArgumentException("unknown type for config/redirectionor_cfg.json :" + s + " it should be \"block\" or \"allow\"");
}
}
Loading

0 comments on commit 5ea88d0

Please sign in to comment.