Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/minecraft.ravager_blocked.json
2021-10-08 13:04:13 +02:00

35 lines
1.1 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.ravager_blocked",
"description": "Defines the ravager's response to their melee attack being blocked.",
"type": "object",
"title": "Ravager Blocked",
"additionalProperties": false,
"required": [],
"properties": {
"knockback_strength": {
"type": "number",
"default": 3,
"description": "The strength with which blocking entities should be knocked back",
"title": "Knockback Strength"
},
"reaction_choices": {
"type": "array",
"description": "A list of weighted responses to the melee attack being blocked",
"title": "Reaction Choices",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"value": {
"title": "Value",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../types/event.json"
}
}
}
}
}
}