Skip to content

Add a configuration option to customize food values #490

Closed Answered by BillyGalbreath
MelnCat asked this question in __Completed__
Discussion options

You must be logged in to vote

Implemented in build 1515, but perfected in build 1516 ;)

https://github.com/PurpurMC/Purpur/blob/b3042f20eb9abd16e43816c01111815d5ff2ea7f/patches/server/0261-Configurable-food-attributes.patch

This new food-properties section is built to be overrides. This means the option will be empty by default to get vanilla default values. Add a food that you want to override, and set only the values you want to override. Everything not overridden will remain at vanilla default values.

Note about effects. To remove a vanilla effect you must specify a negative duration, or a 0.0 or negative chance.

Here's all the options explained with comments:

settings:
  food-properties:
    spider_eye:           …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by granny
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants