Files
minecraft-bedrock-json-schemas/source/behaviour/loot_tables/functions/set_damage.json

37 lines
883 B
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_damage",
"additionalProperties": false,
"description": "The function set_damage",
"title": "Set damage",
"properties": {
"function": {
"type": "string",
"const": "set_damage",
"description": "TODO description",
"title": "TODO title"
},
"damage": {
"oneOf": [
2021-01-27 01:57:16 +01:00
{ "type": "integer" },
2020-11-01 17:22:42 +01:00
{
2021-01-27 01:57:16 +01:00
"type": "object",
"properties": {
"min": { "type": "integer" },
"max": { "type": "integer" }
}
2020-11-01 17:22:42 +01:00
},
{
"type": "object",
"properties": {
2021-01-27 01:57:16 +01:00
"min": { "type": "number" },
"max": { "type": "number" }
2020-11-01 17:22:42 +01:00
}
}
],
"description": "TODO description",
"title": "TODO title"
}
}
}