add KeyBindings and crafting helper

This commit is contained in:
vfyjxf committed 2021-10-01 20:01:14 +08:00
1 parent f946acc811
commit 0bed08ffcd
17 files changed
+526 -31

No files matched your search

@@ -248,7 +248,7 @@ public class NEECraftingHandler implements IOverlayHandler {
}
}
private boolean isCraftingTableRecipe(IRecipeHandler recipe) {
public static boolean isCraftingTableRecipe(IRecipeHandler recipe) {
TemplateRecipeHandler templateRecipeHandler = (TemplateRecipeHandler) recipe;
String overlayIdentifier = templateRecipeHandler.getOverlayIdentifier();
return "crafting".equals(overlayIdentifier) || "crafting2x2".equals(overlayIdentifier);