Custom Foods // Miden's Foods icon

Custom Foods // Miden's Foods -----

Allows you to add custom, eatable foods to your server without mods!



Craftblocker Function
This update did 3 main things:

- Switched the API version to 1.14.
- Switched to a Maven project instead of a legacy project.
- Added a craftblocker function that prevents players from using a custom food in normal recipes.

The third point is the biggest, and here is how it works:
There is a new line in the config called CraftblockKey which is a string. The plugin will check if this string is in the name of any item when that item is being used to craft something. If it is, it will cancel the item crafting event. For example: The base item of the Chicken Kebab item is chicken, and because of that you can use the chicken kebab to re-craft another chicken kebab. Now, when the chicken kebab is used to try to craft a chicken kebab again it will not let the player craft the new kebab.

I am still working on getting this to work with furnaces, smokers, and campfires so expect new updates for those soon.

DO NOTE: THIS MAKES THE CUSTOM FOODS INCOMPATIBLE WITH A CUSTOM RECIPE PLUGIN LIKE CRAFTENHANCE IF USING THE FEATURE!
Craftenhance recipes will be canceled if a custom food is used in the recipe, so do not update the plugin yet if you are using craftenhance to add recipes using custom foods. The 0.6.2 version of the plugin can be found here if you downloaded the new update but want to downgrade.
----------, Jul 1, 2021
Resource Information
Author:
----------
Total Downloads: 7,479
First Release: Feb 4, 2021
Last Update: Mar 1, 2024
Category: ---------------
All-Time Rating:
9 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings