Update knockback_resistance.json

originally was referencing item component.
properties found using vanilla pack: armor_stand
This commit is contained in:
ChibiMango
2022-07-20 21:14:28 +01:00
parent 61327eac6e
commit 3193b0dfbc

View File

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