-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #771 from last8kings/nutrition
Add Nutrition Config
- Loading branch information
Showing
13 changed files
with
5,592 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "example", // Unique Effect ID | ||
"potion": "minecraft:strength", // Potion's resource location (eg. fire_resistance) | ||
"amplifier": 0, // Potion strength | ||
"minimum": 75, // Minimum nutrition level to take effect | ||
"maximum": 100, // Maximum nutrition level to take effect | ||
"detect": "any", // Detection type. Accepted values: | ||
// 'any': Any nutrient may be in the threshold | ||
// 'average': The average of all nutrients must be in the threshold | ||
// 'all': All nutrients must be in the threshold | ||
// 'cumulative': For each nutrient within the threshold, the amplifier increases by one | ||
"nutrients": [ // A whitelist of nutrient IDs to detect against | ||
"fruit", // If this field is omitted, then all nutrients will be included | ||
"vegetable" // | ||
], // | ||
"cumulative_modifier": 1, // Amount to increase the amplifier by for each cumulative effect | ||
"particles": "transparent", // Particle visibility: 'transparent' (default), 'translucent', or 'opaque' | ||
"enabled": false // Will this effect be active or not | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "mining_fatigue", | ||
"potion": "minecraft:mining_fatigue", | ||
"amplifier": 0, | ||
"minimum": 0, | ||
"maximum": 20, | ||
"detect": "average", | ||
"enabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "resistance", | ||
"potion": "minecraft:resistance", | ||
"amplifier": 0, | ||
"minimum": 80, | ||
"maximum": 100, | ||
"detect": "average", | ||
"enabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "strength", | ||
"potion": "minecraft:strength", | ||
"amplifier": 0, | ||
"minimum": 90, | ||
"maximum": 100, | ||
"detect": "average", | ||
"enabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "toughness", | ||
"potion": "nutrition:toughness", | ||
"amplifier": 0, | ||
"minimum": 90, | ||
"maximum": 100, | ||
"detect": "cumulative", | ||
"cumulative_modifier": 1, | ||
"enabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "weakness", | ||
"potion": "minecraft:weakness", | ||
"amplifier": 0, | ||
"minimum": 0, | ||
"maximum": 10, | ||
"detect": "average", | ||
"enabled": true | ||
} |
Oops, something went wrong.