Skip to content

Commit

Permalink
Merge pull request #11 from KatatsumuriPan/1.12.2/forge-dev
Browse files Browse the repository at this point in the history
Update to v1.8.0(1.12.2Forge)
  • Loading branch information
KatatsumuriPan authored Sep 6, 2024
2 parents 91b40e8 + f87ef51 commit 14e9004
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 214 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
matrix:
# Use these Java versions
java: [
8, # TODO: change to GTCEu's Buildscripts
17, # Current Java LTS & minimum supported by Minecraft
21, # Current Java LTS
]
# and run on both Linux and Windows
os: [ ubuntu-22.04, windows-2022 ]
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

### [1.12.2-forge-1.8.0](https://github.com/KatatsumuriPan/UntranslatedItems-AlsoFluids/releases/tag/1.12.2-forge-1.8.0) - 2024-09-06

- Fix crashing bug with Fossils and Archeology Revival. (UTI's compat with Llibrary was broken.)

### [1.12.2-forge-1.7.0](https://github.com/KatatsumuriPan/UntranslatedItems-AlsoFluids/releases/tag/1.12.2-forge-1.7.0) - 2024-02-21

- Add Better Questing compatibility.
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ modGroup = kpan.uti_alsofluids

# Version of your mod.
# This field can be left empty if you want your mod's version to be determined by the latest git tag instead.
modVersion = 1.7.0
modVersion = 1.8.0

# Whether to use the old jar naming structure (modid-mcversion-version) instead of the new version (modid-version)
includeMCVersionJar = false
Expand Down Expand Up @@ -49,7 +49,7 @@ useSrcApiPath = false
# Specify the configuration file for Forge's access transformers here. It must be placed into /src/main/resources/
# There can be multiple files in a comma-separated list.
# Example value: mymodid_at.cfg,jei_at.cfg
accessTransformersFile =
accessTransformersFile = uti_alsofluids_at.cfg

# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
usesMixins = false
Expand Down
34 changes: 16 additions & 18 deletions src/main/java/kpan/uti_alsofluids/asm/core/AsmPlugin.java
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; }

}
Loading

0 comments on commit 14e9004

Please sign in to comment.