Added NEI Lexica Botania integration

This commit is contained in:
Vasco Lavos committed 2015-12-13 01:17:56 +00:00
1 parent 3edde413df
commit 88ec0dec28
10 files changed
+217 -9

No files matched your search

@@ -30,6 +30,8 @@ public class LexiconEntry implements Comparable<LexiconEntry> {
public List<LexiconPage> pages = new ArrayList<LexiconPage>();
private boolean priority = false;
private ItemStack icon = null;
private List<ItemStack> extraDisplayedRecipes = new ArrayList();
/**
* @param unlocalizedName The unlocalized name of this entry. This will be localized by the client display.
@@ -146,9 +148,15 @@ public class LexiconEntry implements Comparable<LexiconEntry> {
}
}
}
list.addAll(extraDisplayedRecipes);
return list;
}
public void addExtraDisplayedRecipe(ItemStack stack) {
extraDisplayedRecipes.add(stack);
}
@Override
public int compareTo(LexiconEntry o) {