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

32 lines
788 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.knockback_resistance",
"type": "object",
"title": "Knockback Resistance",
"description": "Allows an entity to resist being knocked backwards by a melee attack.",
"required": [],
"additionalProperties": false,
"properties": {
"value": {
"title": "Value",
"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."
}
},
"examples": [
{
"value": 1.0
},
{
"value": 100,
"maximum": 100
}
]
}