ElementalFoods icon

ElementalFoods -----

Custom foods and drinks, as well as custom crafting for said foods and drinks!




Fixed a handful of bugs and crashes.
----------, Feb 23, 2023

Changelog:
  • Added a config option to choose if players unlock all recipes when they join the game. This defaults to true, if you want to disable this you can add the following line to the top of your config file.
    Code (YAML):
    unlock-recipes-on-join : true
  • Added the ability to execute commands when a food item is eaten, see below for example configuration.
  • Placeholder API is supported for commands and is a planned feature for item names and lore.

Here is an example:
Code (YAML):
commands : # If you have PlaceholderAPI installed, you can use PlaceholderAPI here,
        # otherwise the only placeholder you can use is %player% which will be replaced with the players username.
        # start a command with srv: to execute the command as the server (this will also ignore player permissions)
        - 'srv:effect give %player% minecraft:speed 120 2'
----------, Nov 1, 2022

Changelog:
- Fixed a bug where if the material was set to a weapon or tool, the stats of the tool would still be shown.
- Added a new per-item config option which allows items to show its food value, see below.

Display Food Value on Items:
This is a per-item config option and defaults to false for backwards compatibility. To enable this display just add the following line to your existing config file under each item you want it to be active on.
Code (YAML):

        # Shows a display of how many hunger bars this item will fill
        show-food-value
: true
[​IMG]
----------, Nov 1, 2022

There was a stray tab where there should have been 4 spaces. This should fix startup crashes.
----------, Oct 29, 2022

Added a way to give players food items via commands, this feature was requested by a user through the discord server.

With the new command, I also added a new permission:
Code (Text):
elementalfoods.command.give - Permission to use /foods give
The command also now supports tab completion.
----------, Oct 21, 2022

The plugin jar should be compatible with servers running Java 17 now.
----------, Aug 8, 2022

Fixed a bug where shapeless recipes only required 1 of every item instead of the proper amount of every item.

Leather armor now uses the "color" property the same way that potions do, allowing for dyed armor.

Attempted to fix unintended behavior where players are allowed to equip custom food items if it is armor, the fix itself though doesn't work 100% of the time and I don't know what else I can try...
----------, Aug 5, 2022

Resource Information
Author:
----------
Total Downloads: 962
First Release: Aug 5, 2022
Last Update: Feb 23, 2023
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings