Skip to content

Commit

Permalink
the great renaming. again (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAPenguin0 authored Sep 3, 2024
1 parent 8aa34cb commit 342d182
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
compileOnly("com.github.GTNewHorizons:BuildCraftCompat:7.1.17:dev") { transitive = false }
compileOnly('com.github.GTNewHorizons:EnderIO:2.8.17:dev') { transitive=false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.9.7:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.49.22:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.49.55:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:ThaumicEnergistics:1.6.22-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.3.26-gtnh:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Avaritiaddons:1.7.1-GTNH:dev") { transitive = false }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public Set<String> getAllOverlayIdentifier() {
}

try {
Class<?> gtRecipeMapClazz = Class.forName("gregtech.api.util.GT_Recipe$GT_Recipe_Map");
Class<?> gtppRecipeMapClazz = Class.forName("gregtech.api.util.GTPP_Recipe$GTPP_Recipe_Map_Internal");
Class<?> gtRecipeMapClazz = Class.forName("gregtech.api.util.GTRecipe$GT_Recipe_Map");
Class<?> gtppRecipeMapClazz = Class.forName("gregtech.api.util.GTPPRecipe$GTPP_Recipe_Map_Internal");
Collection<?> sMappingsEx = (Collection<?>) gtppRecipeMapClazz.getDeclaredField("sMappingsEx").get(null);
for (Object gtppMap : sMappingsEx) {
boolean mNEIAllowed = gtRecipeMapClazz.getDeclaredField("mNEIAllowed").getBoolean(gtppMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import codechicken.nei.recipe.IRecipeHandler;
import gregtech.api.enums.ItemList;
import gregtech.api.recipe.RecipeCategory;
import gregtech.nei.GT_NEI_DefaultHandler.FixedPositionedStack;
import gregtech.nei.GTNEIDefaultHandler.FixedPositionedStack;

/**
* @author vfyjxf
Expand All @@ -37,7 +37,7 @@ public class GregTech5RecipeProcessor implements IRecipeProcessor {
Class<?> gtDH = null;
Class<?> gtAL = null;
try {
gtDH = Class.forName("gregtech.nei.GT_NEI_DefaultHandler");
gtDH = Class.forName("gregtech.nei.GTNEIDefaultHandler");
gtAL = Class.forName("gregtech.nei.GT_NEI_AssLineHandler");
} catch (ClassNotFoundException ignored) {}
gtDefaultClz = gtDH;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/vfyjxf/nee/utils/ItemUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class ItemUtils {

static {
try {
GT_MetaGenerated_ToolClass = Class.forName("gregtech.api.items.GT_MetaGenerated_Tool");
GT_MetaGenerated_ToolClass = Class.forName("gregtech.api.items.MetaGeneratedTool");
} catch (ClassNotFoundException ignored) {}
}

Expand Down

0 comments on commit 342d182

Please sign in to comment.