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

32 lines
788 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",
"description": "Allows an entity to resist being knocked backwards by a melee attack.",
2021-10-08 12:59:03 +02:00
"required": [],
"additionalProperties": false,
2021-10-08 12:59:03 +02:00
"properties": {
"value": {
"title": "Value",
2021-10-11 18:10:42 +02:00
"type": "number",
"default": 1.0,
"description": "Percentage of knockback to reduce with 1.0 being 100% reduction."
},
"maximum": {
"title": "Maximum",
"type": "number",
"default": 1.0,
"description": "The maximum amount of knockback resistance that can be applied to the entity."
2021-10-11 18:10:42 +02:00
}
},
"examples": [
{
"value": 1.0
},
{
"value": 100,
"maximum": 100
2021-10-11 18:10:42 +02:00
}
]
2021-10-08 12:59:03 +02:00
}