Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/knockback_resistance.json

22 lines
610 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.knockback_resistance",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Knockback Resistance",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"description": "Sets the knockback resistance item component. Determines the amount of knockback resistance that the item has.",
2021-10-08 12:59:03 +02:00
"required": [],
"properties": {
"protection": {
"title": "Protection",
2021-10-11 18:10:42 +02:00
"type": "number",
"description": "Amount of knockback resistance provided with the total maximum protection being 1.0",
"maximum": 1
2021-10-11 18:10:42 +02:00
}
},
"examples": [
{
"protection": 0.5
2021-10-11 18:10:42 +02:00
}
]
2021-10-08 12:59:03 +02:00
}