Package com.sucy.skill.listener
Class BindListener
java.lang.Object
com.sucy.skill.listener.SkillAPIListener
com.sucy.skill.listener.BindListener
- All Implemented Interfaces:
org.bukkit.event.Listener
A listener that handles casting skills through binds. This shouldn't be
use by other plugins as it is handled by the API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonInteract(KeyPressEvent event) Handles interact events to check when a player right clicks with a bound item to cast a skill.Methods inherited from class com.sucy.skill.listener.SkillAPIListener
cleanup, init
-
Constructor Details
-
BindListener
public BindListener()
-
-
Method Details
-
onInteract
Handles interact events to check when a player right clicks with a bound item to cast a skill.- Parameters:
event- event details
-