* update loot table schemas * remove entity_properties and use new int_or_range definition * remove entity_properties from conditions.json as well
29 lines
728 B
JSON
29 lines
728 B
JSON
{
|
|
"$id": "blockception.minecraft.behavior.loot_tables.set_damage",
|
|
"additionalProperties": false,
|
|
"description": "The function set_damage.",
|
|
"title": "Set Damage",
|
|
"type": "object",
|
|
"properties": {
|
|
"add": {
|
|
"title": "Add",
|
|
"description": "UNDOCUMENTED.",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "boolean"
|
|
},
|
|
"function": {
|
|
"type": "string",
|
|
"const": "set_damage",
|
|
"description": "UNDOCUMENTED.",
|
|
"$comment": "UNDOCUMENTED",
|
|
"title": "Function"
|
|
},
|
|
"damage": {
|
|
"description": "UNDOCUMENTED.",
|
|
"$comment": "UNDOCUMENTED",
|
|
"title": "Damage",
|
|
"$ref": "../../../general/int_or_range.json"
|
|
}
|
|
}
|
|
}
|