跳转至

Ravager Blocked

文档版本:1.21.0.24

Defines the ravager's response to their melee attack being blocked.

架构

ravager_blocked:
{
  number "knockback_strength" : opt
  array "reaction_choices" : opt
  {
    object "<any array element>" : opt
    {
      integer "weight" : opt
      event "value"
    }
  }
}
knockback_strengthnumber
The strength with which blocking entities should be knocked back.
reaction_choicesarray
A list of weighted responses to the melee attack being blocked.
reaction_choices
<any array element>object
<any array element>
weightinteger
The chance of this reaction being picked.
valueevent
An event that runs when this reaction is picked.
event:
string
event:
{
  string "event" : opt
  string "target" : opt
}
eventstring
The event to fire.
targetstring
The target of the event.