2021-01-03 18:59:21 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
2021-01-05 00:06:46 +01:00
"$id" : "blockception.minecraft.behaviour.1.16.100.items.minecraft:food" ,
"title" : "Food" ,
"description" : "When an item has a food component, it becomes edible to the player." ,
2021-01-03 18:59:21 +01:00
"type" : "object" ,
"additionalProperties" : false ,
2021-01-05 00:06:46 +01:00
"properties" : {
"can_always_eat" : {
"title" : "Can always eat" ,
"description" : "If true you can always eat this item (even when not hungry), defaults to false." ,
"type" : "boolean" ,
"default" : false
} ,
"nutrition" : {
"title" : "Nutrition" ,
"description" : "How much nutrition does this food item give the player when eaten." ,
"type" : "number"
} ,
"on_consume" : {
"title" : "On consume" ,
"description" : "UNDOCUMENATED" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"event" : {
"type" : "string" ,
"title" : "UNDOCUMENATED" ,
"description" : "UNDOCUMENATED"
} ,
"target" : {
"type" : "string" ,
"title" : "UNDOCUMENATED" ,
"description" : "UNDOCUMENATED" ,
2021-01-05 10:49:01 +01:00
"enum" : [ "self" ]
2021-01-05 00:06:46 +01:00
}
}
} ,
"saturation_modifier" : {
"title" : "Saturation modifier" ,
"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"
} ,
"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-04 11:46:10 +01:00
}