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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈