mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-17 10:55:07 +00:00
the great renaming. again (#41)
This commit is contained in:
1 parent
8aa34cbdc1
commit
342d1822f7
4 files changed
+6
-6
No files matched your search
@@ -32,8 +32,8 @@ public class GTPPRecipeProcessor implements IRecipeProcessor {
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
@@ -22,7 +22,7 @@ import codechicken.nei.PositionedStack;
|
||||
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
|
||||
@@ -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;
|
||||
|
||||
@@ -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) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user