Updating items

This commit is contained in:
DaanV2
2022-07-20 21:25:32 +02:00
parent e7465a00c4
commit 8b85afe464
39 changed files with 843 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:food",
"$id": "blockception.minecraft.behavior.items.minecraft:food",
"title": "Food",
"description": "When an item has a food component, it becomes edible to the player.",
"type": "object",
@@ -23,15 +23,63 @@
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] }
}
},
"is_meat": {
"title": "Is Meat",
"description": "If true, this food item is considered meat.",
"type": "boolean",
"default": false
},
},
"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"
"oneOf": [
{ "type": "number" },
{
"type": "string",
"enum": ["poor", "low"]
}
]
},
"using_converts_to": {
"title": "Using Converts To",
"description": "When used, convert the *this* item to the one specified by `using_converts_to`.",
"type": "string"
},
"effects": {
"title": "Effects",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"title": "Effect",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"title": "Name",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"duration": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "The duration of the effect.",
"$comment": "UNDOCUMENTED"
},
"amplifier": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "The amplifier of the effect.",
"$comment": "UNDOCUMENTED"
}
}
}
}
}
}