mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
![]() Prior to this commit `/condense` would return the first best item to condense an ItemStack into, with no consideration of better forms of condensation. This commit adds a local variable `bestRecipes` which stores all the valid recipes and sorts through them for the best, then picks out the best. The best recipe is defined by a compare(o2, o1) where o1 and o2 are integers of the SimpleRecipe's input ItemStack amount. |
||
---|---|---|
.. | ||
src | ||
test/com/earth2me/essentials | ||
pom.xml |