After quite a long time away, I've come back to give some much needed polish and refinement to my plugins, and introduce some features that are _long_ overdue. This update for Custom Foods / Miden's Foods is the first of many to come for all of my plugins. I decided to start here since this is the one which has had the longest wait for a new update of any kind.
- Removed the craftblock feature entirely. My implementation of this feature was extremely buggy and never really worked properly in the first place. If you want to block custom foods from being used in vanilla recipes, use a separate plugin, such as WolfyScript's Custom Crafting.
- You can now attach potion effects to your custom foods. You can determine what effects, how long they'll last, and how strong they will be in your config.yml. An example of a custom food with potion effects is now available in the latest version of the config.
- You can now use custom foods in the recipes of other custom foods. Note: THIS ONLY WORKS FOR SHAPED AND SHAPELESS CRAFTING RECIPES AT THIS MOMENT! Use "CFD-[FoodConfigName]" as an ingredient to use a custom food in the crafting recipe of another custom food. This does not work when using the legacy system.
- For developers with my plugin on the server, I've begun working on an API which will allow you to do much more with the plugin. As of right now, there is a new custom event which fires when the player consumes a custom food made by my plugin. By the time 1.0 releases, there should be a more full API with documentation, so be on the lookout.
- The plugin is now open source! The github page for the plugin is available on the main spigot page.
That should wrap up this update for now. See you all soon. Be sure to join the discord server for help and support as well as announcements related to the plugins:
https://discord.gg/xBS7jk6Wtg