Skip to content

Commit

Permalink
remove mod compat for mods not available in 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Aug 13, 2023
1 parent 7f782c1 commit d3471bb
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 234 deletions.
Binary file removed lib/CodeChickenCore-0.6.5.jar
Binary file not shown.
Binary file removed lib/NotEnoughItems-1.4.0.5.jar
Binary file not shown.
6 changes: 4 additions & 2 deletions mod-compat/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
dependencies {
modCompileOnly(group: "local", name: "CodeChickenCore", version: "0.6.5")
modCompileOnly(group: "local", name: "NotEnoughItems", version: "1.4.0.5")
// How to add a mod
// add the intermediary jar of the mod in rootfolder/lib with a dummy fabric.mod.json file in it
// if the file is named like "filename-fileversion.jar" then import it this way:
// modCompileOnly(group: "local", name: "filename", version: "fileversion")
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ public String getRefMapperConfig() {

@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
if (mixinClassName.contains(".nei.")) {
try {
Class.forName("codechicken.nei.IStackPositioner", false, this.getClass().getClassLoader());
return true;
} catch (ClassNotFoundException e) {
return false;
}
}

return true;
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

1 change: 0 additions & 1 deletion mod-compat/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
],
"depends": {
"fabricloader": ">0.14.3",
"minecraft": "1.3.2",
"mod-remapping-api": ">=1.14.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,8 @@
"compatibilityLevel": "JAVA_8",
"server": [],
"mixins": [
"codechickencore.ClassDiscovererMixin",
"codechickencore.ClassHeirachyManagerMixin",
"codechickencore.ClassMappingMixin",
"codechickencore.ClassOverriderMixin",
"codechickencore.FieldMappingMixin",
"codechickencore.MethodMappingMixin",
"nei.FurnaceRecipeHandlerMixin",
"nei.TMIUninstallerMixin"
],
"client": [
"nei.HandledScreenMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit d3471bb

Please sign in to comment.