Update knockback_resistance.json

Added descriptions
Removed undocumented comment
This commit is contained in:
ChibiMango
2022-07-13 22:10:02 +01:00
parent c3ace0e25e
commit 43da1557be

View File

@@ -3,27 +3,19 @@
"type": "object", "type": "object",
"title": "Knockback Resistance", "title": "Knockback Resistance",
"additionalProperties": false, "additionalProperties": false,
"description": "UNDOCUMENTED", "description": "Sets the knockback resistance item component. Determines the amount of knockback resistance that the item has.",
"$comment": "UNDOCUMENTED",
"required": [], "required": [],
"properties": { "properties": {
"value": { "protection": {
"title": "Protection",
"type": "number", "type": "number",
"description": "UNDOCUMENTED", "description": "Amount of knockback resistance provided with the total maximum protection being 1.0",
"$comment": "UNDOCUMENTED", "maximum": 1
"title": "Value"
},
"max": {
"type": "number",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Maximum"
} }
}, },
"examples": [ "examples": [
{ {
"value": 0.0, "protection": 0.5
"max": 0.0
} }
] ]
} }