minecraft server init
This commit is contained in:
18
config/nutrition/effects/example.json
Normal file
18
config/nutrition/effects/example.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"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", // 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
|
||||
"enabled": false // Will this effect be active or not
|
||||
}
|
9
config/nutrition/effects/mining_fatigue.json
Normal file
9
config/nutrition/effects/mining_fatigue.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "mining_fatigue",
|
||||
"potion": "minecraft:mining_fatigue",
|
||||
"amplifier": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 15,
|
||||
"detect": "average",
|
||||
"enabled": true
|
||||
}
|
9
config/nutrition/effects/resistance.json
Normal file
9
config/nutrition/effects/resistance.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "resistance",
|
||||
"potion": "minecraft:resistance",
|
||||
"amplifier": 0,
|
||||
"minimum": 80,
|
||||
"maximum": 100,
|
||||
"detect": "average",
|
||||
"enabled": true
|
||||
}
|
9
config/nutrition/effects/strength.json
Normal file
9
config/nutrition/effects/strength.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "strength",
|
||||
"potion": "minecraft:strength",
|
||||
"amplifier": 0,
|
||||
"minimum": 90,
|
||||
"maximum": 100,
|
||||
"detect": "average",
|
||||
"enabled": true
|
||||
}
|
10
config/nutrition/effects/toughness.json
Normal file
10
config/nutrition/effects/toughness.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "toughness",
|
||||
"potion": "nutrition:nourished",
|
||||
"amplifier": 0,
|
||||
"minimum": 90,
|
||||
"maximum": 100,
|
||||
"detect": "cumulative",
|
||||
"cumulative_modifier": 5,
|
||||
"enabled": true
|
||||
}
|
9
config/nutrition/effects/weakness.json
Normal file
9
config/nutrition/effects/weakness.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "weakness",
|
||||
"potion": "minecraft:weakness",
|
||||
"amplifier": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 10,
|
||||
"detect": "average",
|
||||
"enabled": true
|
||||
}
|
Reference in New Issue
Block a user