Versions / 0.6.0-pre.6 / Item / Interactions / Weapons / Hoe / Attacks / Swing_Right / Hoe_Swing_Right.json
Hoe_Swing_Right
Server/Item/Interactions/Weapons/Hoe/Attacks/Swing_Right/Hoe_Swing_Right.json, 1.8 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemAnimationId": "SwingRight"
},
"$Comment": "Prepare Delay",
"RunTime": 0.167,
"Next": {
"Type": "Parallel",
"$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
"Interactions": [
{
"Interactions": [
{
"Type": "Selector",
"$Comment": "Length of Combat",
"RunTime": 0.083,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 2.5,
"Length": 30,
"RollOffset": 30,
"YawStartOffset": -15
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Hoe_Swing_Right_Damage"
]
},
"Var": "Hoe_Swing_Right_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.084
}
}
]
},
{
"Interactions": [
{
"Type": "Simple",
"$Comment": "Block break delay",
"RunTime": 0.033,
"Next": "Block_Break"
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Hoe_Swing_Right_Effect"
]
},
"Var": "Hoe_Swing_Right_Effect"
}
]
}
]
}
}