HorizontalSelector
A selector that swings in a horizontal arc over a given period of time.
Id
This field controls the type, it must be set to the constant value "Horizontal" to function as this type.
Type information: Constant value: Horizontal
Length
The angle length in degrees that the arc will cover.
Type information: Number defaults to: 0.0
Direction
The direction the swing should travel in.
Type information:
Any one of the following String:
| Name | Description |
|---|---|
"ToRight" | A arc that starts at the left and moves towards the right. |
"ToLeft" | A arc that starts at the right and moves towards the left. |
StartDistance
The distance from the entity that the selector starts its search from.
Type information: Number defaults to: 0.01
EndDistance
The distance from the entity that the selector ends its search at.
Type information: Number defaults to: 0.0
ExtendTop
The amount to extend the top of the selector by.
Type information: Number defaults to: 1.0
ExtendBottom
The amount to extend the bottom of the selector by.
Type information: Number defaults to: 1.0
YawStartOffset
The yaw rotation offset in degrees for this selector
Type information: Number defaults to: 0.0
PitchOffset
The pitch rotation offset in degrees for this selector
Type information: Number defaults to: 0.0
RollOffset
The roll rotation offset in degrees for this selector
Type information: Number defaults to: 0.0
TestLineOfSight
Whether to test for line of sight between the user and the target before counting a hit
Type information: Boolean defaults to: true
IgnorePitch
Ignores the entity's look pitch so the selector stays level with the ground.
Type information: Boolean defaults to: false
IgnoreYaw
Ignores the entity's look yaw, keeping the selector in a fixed world direction (use YawStartOffset to orient it).
Type information: Boolean defaults to: false
Anchor
Where the selector anchors vertically: Eyes (default) follows the entity's model eye height, Feet anchors at ground level so the same attack asset works across differently sized entities.
Type information:
(Nullable) Any one of the following String (defaults to Eyes):
| Name | Description |
|---|---|
"Eyes" | |
"Feet" |
