Editing Existing Foods - wyldmods/KitchenCraft GitHub Wiki
If AppleCore is installed, KitchenCraft has the ability to edit existing foods in the game, even modded foods!
You can do this by specifying the item name of the food, then the new values to set. Any value not set will be left alone.
Value | Type | Description | Default |
---|---|---|---|
item | String | The item name for the food to edit. This is in the usual format, for example "minecraft:cooked_porkchop". | REQUIRED |
effects | Custom object array | This is an array of the potion effects to apply to the food. This is done in the same format as when you add new foods. | [] (No change) |
food | Integer | The new food value to assign to this food. | -1 (No change) |
saturation | Decimal | The new saturation value to assign to this food. | -1 (No change) |