Releases: SnowSnakz/ElementalFoods
Releases · SnowSnakz/ElementalFoods
v1.4.1
Added the Ability to execute commands when food is eaten.
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.
unlock-recipes-on-join: false
- 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.
Example:
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'
Version 1.2.0 - Added a give command.
v.1.2.0 Added permission and incremented version in plugin.yml
Java 17 Compatibility Hotfix
Made the plugin compatible with Java 17
Java 17 Incompatibility Hotfix
Attempts to fix java.lang.UnsupportedClassVersionError
when trying to load the plugin on a server running Java 17 instead of Java 18.
ElementalFoods v1.1
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...