2021-01-05 00:13:27 +01:00
{
2021-04-04 13:52:35 +02:00
"$id" : "blockception.minecraft.behavior.1.16.200.items.minecraft:food" ,
2021-01-05 00:13:27 +01:00
"title" : "Food" ,
"description" : "When an item has a food component, it becomes edible to the player." ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"can_always_eat" : {
2021-03-21 15:18:38 +01:00
"title" : "Can Always Eat" ,
2021-01-05 00:13:27 +01:00
"description" : "If true you can always eat this item (even when not hungry), defaults to false." ,
"type" : "boolean" ,
"default" : false
} ,
2021-03-21 15:18:38 +01:00
"nutrition" : { "title" : "Nutrition" , "description" : "How much nutrition does this food item give the player when eaten." , "type" : "number" } ,
2021-01-05 00:13:27 +01:00
"on_consume" : {
2021-03-21 15:18:38 +01:00
"title" : "On Consume" ,
2021-01-05 00:13:27 +01:00
"description" : "UNDOCUMENATED" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
2021-03-21 15:18:38 +01:00
"event" : { "type" : "string" , "title" : "UNDOCUMENATED" , "description" : "UNDOCUMENATED" } ,
"target" : { "type" : "string" , "title" : "UNDOCUMENATED" , "description" : "UNDOCUMENATED" , "enum" : [ "self" ] }
2021-01-05 00:13:27 +01:00
}
} ,
"saturation_modifier" : {
2021-03-21 15:18:38 +01:00
"title" : "Saturation Modifier" ,
2021-01-05 00:13:27 +01:00
"description" : "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item." ,
"type" : "number"
} ,
2021-05-18 23:32:44 +02:00
"using_converts_to" : {
"title" : "Using Converts To" ,
"description" : "When used, convert the *this* item to the one specified by 'using_converts_to'." ,
"type" : "string"
}
2021-01-05 00:13:27 +01:00
}
}