@minecraft
    正在准备搜索索引...

    枚举 EntitySwingSource实验性

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

    索引

    枚举成员

    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.