Interface GearService.GearAbility
- Enclosing interface:
GearService
public static interface GearService.GearAbility
Global gear ability hooks.
onUse runs on right-click and
onAttack runs when the player damages another player. Check the
player's owned gear inside the handler if the ability is gear-specific.-
Method Summary
-
Method Details
-
key
@NotNull @NotNull net.kyori.adventure.key.Key key() -
onUse
default void onUse(@NotNull @NotNull org.bukkit.entity.Player player) -
onAttack
default void onAttack(@NotNull @NotNull org.bukkit.entity.Player attacker, @NotNull @NotNull org.bukkit.entity.Player target)
-