Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/damage.json

26 lines
628 B
JSON
Raw Normal View History

{
"$id": "blockception.minecraft.behavior.items.minecraft:damage",
"title": "Damage",
"description": "The damage component determines how much extra damage the item does on attack.",
"oneOf": [
{
"type": "number",
"minimum": 1
},
{
"type": "object",
"additionalProperties": false,
"required": ["value"],
"properties": {
"value": {
"type": "number",
"title": "Value",
"description": "How much extra damage the item does, must be a positive number.",
"minimum": 1
}
}
}
],
"examples": [{ "value": 7 }]
}