On Ready Arrow (Event) — Skript

Addon: Skript · Category: Event · Since: 2.8.0

Syntax

[on] [player] ((ready|choose|draw|load) arrow|arrow (choose|draw|load))

Description

Called when a player is firing a bow and the server is choosing an arrow to use. Cancelling this event will skip the current arrow item and fire a new event for the next arrow item. The arrow and bow in the event can be accessed with the Readied Arrow/Bow expression.

Event Values

  • event-player
  • event-world

Examples

on player ready arrow:
	selected bow's name is "Spectral Bow"
	if selected arrow is not a spectral arrow:
		cancel event

View source