Versions / 0.5.0 / Item / Interactions / Weapons / Sickle / Attacks / Swing_Left / Sickle_Swing_Left_Selector.json
Sickle_Swing_Left_Selector
Server/Item/Interactions/Weapons/Sickle/Attacks/Swing_Left/Sickle_Swing_Left_Selector.json, 991 B
Fields
| Field | Type |
|---|---|
Type | string |
$Comment | string |
RunTime | number |
Selector | object |
HitBlock | object |
HitEntity | object |
Next | object |
Source
{
"Type": "Selector",
"$Comment": "Length of Combat",
"RunTime": 0.2,
"Selector": {
"Id": "Horizontal",
"Direction": "ToLeft",
"TestLineOfSight": true,
"ExtendTop": 0.1,
"ExtendBottom": 2,
"StartDistance": 0.1,
"EndDistance": 2.5,
"Length": 70,
"RollOffset": 0,
"YawStartOffset": -20
},
"HitBlock": {
"Interactions": [
{
"Type": "HarvestCrop",
"RequireNotBroken": true,
"Next": {
"Type": "ModifyInventory",
"AdjustHeldItemDurability": -1
},
"Failed": "Block_Break_Adventure"
}
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultOk": true,
"DefaultValue": {
"Interactions": [
"Sickle_Swing_Left_Damage"
]
},
"Var": "Swing_Left_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.2
}
}