Move the recipe removal step outside of the iterator in removeAnyRecipe, removeShapedRecipe, and removeShapelessRecipe in RecipeRemover.java because removal from within the iterator indirectly writes to the underlying collection, causing it to throw a ConcurrentModificationException during startup.
Load Pam's crops and fruits by reading directly from CropRegistry and FruitRegistry, which will address the current disparity in HungerOverhaul's registry, while also automatically picking up all future crop & fruit additions.
For fruits, this means we won't get the actual fruit block as a drop anymore (#226)
For crops, this means there are now 21 new crops eligible for showing up in villager farms:
Description:
removeAnyRecipe
,removeShapedRecipe
, andremoveShapelessRecipe
inRecipeRemover.java
because removal from within the iterator indirectly writes to the underlying collection, causing it to throw a ConcurrentModificationException during startup.CropRegistry
andFruitRegistry
, which will address the current disparity in HungerOverhaul's registry, while also automatically picking up all future crop & fruit additions.14.23.5.2816
since that's the minimum version forjei_version=4.15.+
.Testing: