-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from KatatsumuriPan/1.12.2/forge-dev
Update to v1.8.0(1.12.2Forge)
- Loading branch information
Showing
6 changed files
with
231 additions
and
214 deletions.
There are no files selected for viewing
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
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
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
34 changes: 16 additions & 18 deletions
34
src/main/java/kpan/uti_alsofluids/asm/core/AsmPlugin.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,35 @@ | ||
package kpan.uti_alsofluids.asm.core; | ||
|
||
import java.util.Map; | ||
import javax.annotation.Nullable; | ||
import kpan.uti_alsofluids.ModTagsGenerated; | ||
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; | ||
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin.MCVersion; | ||
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin.Name; | ||
import org.apache.logging.log4j.LogManager; | ||
|
||
import javax.annotation.Nullable; | ||
import java.util.Map; | ||
|
||
@IFMLLoadingPlugin.TransformerExclusions({ModTagsGenerated.MODGROUP + ".asm.core.", ModTagsGenerated.MODGROUP + ".asm.tf.", ModTagsGenerated.MODGROUP + ".util.MyReflectionHelper"}) | ||
@Name("AsmPlugin") | ||
@MCVersion("1.12.2") | ||
public class AsmPlugin implements IFMLLoadingPlugin { | ||
|
||
public AsmPlugin() { | ||
LogManager.getLogger().debug("This is " + (AsmUtil.isDeobfEnvironment() ? "deobf" : "obf") + " environment"); | ||
} | ||
public AsmPlugin() { | ||
AsmUtil.LOGGER.debug("This is " + (AsmUtil.isDeobfEnvironment() ? "deobf" : "obf") + " environment"); | ||
} | ||
|
||
@Override | ||
public String[] getASMTransformerClass() { return new String[]{ASMTransformer.class.getName()}; } | ||
@Override | ||
public String[] getASMTransformerClass() { return new String[]{ASMTransformer.class.getName()}; } | ||
|
||
@Override | ||
public String getModContainerClass() { return null; } | ||
@Override | ||
public String getModContainerClass() { return null; } | ||
|
||
@Nullable | ||
@Override | ||
public String getSetupClass() { return null; } | ||
@Nullable | ||
@Override | ||
public String getSetupClass() { return null; } | ||
|
||
@Override | ||
public void injectData(Map<String, Object> data) { } | ||
@Override | ||
public void injectData(Map<String, Object> data) { } | ||
|
||
@Override | ||
public String getAccessTransformerClass() { return null; } | ||
@Override | ||
public String getAccessTransformerClass() { return null; } | ||
|
||
} |
Oops, something went wrong.