Refactor
This commit is contained in:
19
source/behavior/loot_tables/functions/set_damage.json
Normal file
19
source/behavior/loot_tables/functions/set_damage.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.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": [
|
||||
{ "type": "integer" },
|
||||
{ "type": "object", "properties": { "min": { "type": "integer" }, "max": { "type": "integer" } } },
|
||||
{ "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } } }
|
||||
],
|
||||
"description": "TODO description",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user