WolfyScript / CustomCrafting

Spigot based plugin to create your own custom Recipes & Items. Designed to be easy to use with in-game GUI and tons of configuration possibilities.
https://modrinth.com/plugin/customcrafting
GNU General Public License v3.0
114 stars 36 forks source link

Improved Crafting Recipe Algorithm Performance #211

Closed WolfyScript closed 1 year ago

WolfyScript commented 1 year ago

Store IngredientData in Array instead of Map, which should in theory reduce the overhead of each check. Made other minor improvements to speed things up.

Shaped recipes are still far more efficient than Shapeless recipes, due to them having more constraints.