Enumerator describing the source of an Entity swing. Sent as part of PlayerSwingStartAfterEvent

Enumeration Members

Attack: "Attack"

Sent when the Entity swings as part of an attack.

Build: "Build"

Sent when the Entity swings as part of a build action.

DropItem: "DropItem"

Sent when the Entity swings as part of dropping an item.

Event: "Event"

Sent when the Entity swings as part of an event response.

Interact: "Interact"

Sent when the Entity swings as part of an interaction.

Mine: "Mine"

Sent when the Entity swings as part of a mine action.

None: "None"

Sent when the Entity swing has no determinable source.

ThrowItem: "ThrowItem"

Sent when the Entity swings as part of throwing an item.

UseItem: "UseItem"

Sent when the Entity swings as part of using an item.