mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-21 21:02:19 +00:00
Applied Energistics 2 Fixes
- Fixed getRecipeInfo() for Grinder displayed output instead of input - Fixed wildcard support for item damage - Added Botania special flower support - Tested all AE2 script functions
This commit is contained in:
1 parent
da33cc6fab
commit
f8d537e857
3 files changed
+10
-7
No files matched your search
@@ -1,9 +1,11 @@
|
||||
package modtweaker2.mods.appeng.handlers;
|
||||
|
||||
import static modtweaker2.helpers.InputHelper.getStackDescription;
|
||||
import static modtweaker2.helpers.InputHelper.toIngredient;
|
||||
import static modtweaker2.helpers.InputHelper.toIItemStack;
|
||||
import static modtweaker2.helpers.InputHelper.toStack;
|
||||
import static modtweaker2.helpers.InputHelper.toStacks;
|
||||
import static modtweaker2.helpers.StackHelper.matches;
|
||||
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
||||
@@ -98,7 +100,7 @@ public class Inscriber {
|
||||
LinkedList<IInscriberRecipe> result = new LinkedList<IInscriberRecipe>();
|
||||
|
||||
for(IInscriberRecipe entry : AEApi.instance().registries().inscriber().getRecipes()) {
|
||||
if(entry != null && entry.getOutput() != null && output.contains(toIngredient(entry.getOutput()))) {
|
||||
if(entry != null && entry.getOutput() != null && matches(output, toIItemStack(entry.getOutput()))) {
|
||||
result.add(entry);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user