WolfyScript / WolfyUtils-Spigot

The WolfyUtilities implementation for the Spigot platform
10 stars 4 forks source link

Functional Cooking Recipes #1

Closed WolfyScript closed 2 years ago

WolfyScript commented 2 years ago

See Also: WolfyScript/CustomCrafting#89 WolfyScript/CustomCrafting#67

The functional cooking recipes make it possible to manipulate the way in which cooking recipes are matched.

That way the ingredient check can be customized to for example only compare single NBT tags, or even check the block, world, etc. Resulting in massive customization of cooking recipes.

Cons:

The current implementation is still very experimental! It might be changed completely anytime!

Edit: This should be implemented into Spigot directly! I might do a pull request for that soon-ish. Not sure yet how I would handle custom code from plugins... Edit 20/09/22: Implemented a prototype into Spigot using Events (Haven't made a PR yet). Still quite limited and possibly weird behaviour, as it requires placeholder recipes registered in Minecraft.