_Slot Casting - Eniripsa96/SkillAPI GitHub Wiki
![]() |
Slot Casting allows you to set up one slot in players' hot bars that will be a designated skill slot. This slot can cycle through all available skills by left/right clicking and then cast the currently selected skill by dropping it (Q). Before casting, it will display particles where the skill will affect. See Particle Previews for more details. |
___________________________________ |
Skill icons are directly used in the slot to show what one you are using. Also, any of the following details can be changed in config.yml under "Casting":
Setting | Description |
---|---|
cooldown | Restricts casting too quickly, using the given number of ticks as a cooldown shared among all skills. Cooldowns provided by the cast skill will still apply to that skill normally |
cast-indicator | Controls what the Particle Previews look like |
slot | The slot that will be used for skills |
item | The icon used when the player has no available skills that can be cast, basically acting as a placeholder |
To use this casting method, open up config.yml, find the "Casting" section, set "enabled" to true *and* "bars" to false. Leaving bars as true will instead enable Custom Casting.