-
Notifications
You must be signed in to change notification settings - Fork 21
Foods Config
-
{name}- The name of the food -
{textureName}- The texture name of the food. -
[creativeTab] = "Custom Items"- The tab label from the tab that the block will show. -
[healAmount] = 1- How much hunger points this food gives -
[saturationModifier] = 1- Actually I am not sure what this is -
[potionEffect]- Foods can have potion effect, like raw chicken or zombie flesh. This is an OPTIONAL propertie, that has its own properties
-
[effect] = "moveSpeed"- There is a list of buffs/debuffs possible (effects list) -
[potionDuration] = 20- How many SECONDS the effect will last -
[potionAmplifier] = 1- Slow II ... II is the amplifier. It makes the effect stronger -
[potionEffectProbability] = 1,0- (min: 0.0, max: 1.0) The chance of the potion effect happening when eating the food
{
"foods":
[
{
"name":"food 1",
"textureName":"food1",
"healAmount": 1,
"saturationModifier":1,
"potionEffect":
{
"effect": "effect",
"potionDuration": 1,
"potionAmplifier": 1,
"potionEffectProbability": 1.0
}
},
{
"name":"food 2",
"textureName":"food2",
"healAmount": 1,
"creativeTab": "Random Tab",
"saturationModifier": 1
"
},
...
{
"name":"food X",
"textureName":"foodX",
"healAmount": 1,
"saturationModifier":1,
"potionEffect":
{
"effect": "effect",
"potionDuration": 1,
"potionAmplifier": 1,
"potionEffectProbability": 1.0
}
}
]
}