Fix Altar NEI Handler (#25)

* Update build.gradle

* Fix Tooltip handling in NEIAltarRecipeHandler

* Cleanup

* Improve NEI Altar Handler

Using the mouse pos again but it now correctly handles >2 recipes per page and NEI 2.0+
This commit is contained in:
glowredman authored and GitHub committed 2022-06-08 16:16:02 +02:00
1 parent 23c1efe98b
commit 44002d238e
9 files changed
+307 -227

No files matched your search

@@ -9,8 +9,8 @@ import net.minecraft.item.ItemStack;
public class AltarRecipeRegistry
{
public static List<AltarRecipe> altarRecipes = new LinkedList();
public static Map<Integer, ItemStack> orbMap = new HashMap();
public static List<AltarRecipe> altarRecipes = new LinkedList<>();
public static Map<Integer, ItemStack> orbMap = new HashMap<>();
public static void registerAltarRecipe(ItemStack result, ItemStack requiredItem, int minTier, int liquidRequired, int consumptionRate, int drainRate, boolean canBeFilled)
{