mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 15:03:03 +00:00
Added NEI Lexica Botania integration
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user