Entity Documentation - minecraft:ravager_blocked
minecraft:ravager_blocked
defines the ravager's response to their melee attack being blocked.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
knockback_strength | 3.0 | Decimal | The strength with which blocking entities should be knocked back |
reaction_choices | not set | List | A list of weighted responses to the melee attack being blocked |
Example
"minecraft:ravager_blocked":{
"knockback_strength": 3.0,
"reaction_choices": []
}
Vanilla entities examples
ravager
"minecraft:ravager_blocked": {
"knockback_strength": 3.0,
"reaction_choices": [
{
"weight": 1,
"value": {
"event": "minecraft:become_stunned",
"target": "self"
}
},
{
// Default, large knockback case
"weight": 1
}
]
}
Vanilla entities using minecraft:ravager_blocked
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for