Skip to content

Commit

Permalink
Remove CCC and NEI Compat Code
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Aug 17, 2023
1 parent 0e4d853 commit 153158b
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 492 deletions.
Binary file removed lib/CodeChickenCore-0.6.12.jar
Binary file not shown.
Binary file removed lib/NotEnoughItems-1.4.2.1.jar
Binary file not shown.
2 changes: 0 additions & 2 deletions mod-compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ dependencies {
// 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")
modCompileOnly(group: "local", name: "CodeChickenCore", version: "0.6.12")
modCompileOnly(group: "local", name: "NotEnoughItems", version: "1.4.2.1")
}

base {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ public void registerVisitors(VisitorInfos visitorInfos) {
@Override
public void afterRemap() {
Mixins.addConfiguration("fabricated-forge.mods.mixins.json");
Utils.TRANSFORMER_EXCLUSIONS.add("fr.catcore.fabricatedforge.compat.nei.NEIFixer");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ public String getRefMapperConfig() {

@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
if (mixinClassName.contains(".nei.")) {
try {
this.getClass().getClassLoader().loadClass("codechicken.nei.forge.IContainerClientSide");
return true;
} catch (ClassNotFoundException e) {
return false;
}
}
// if (mixinClassName.contains(".nei.")) {
// try {
// this.getClass().getClassLoader().loadClass("codechicken.nei.forge.IContainerClientSide");
// 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.

Loading

0 comments on commit 153158b

Please sign in to comment.