Package de.marcely.bedwars.api.game.specialitem
package de.marcely.bedwars.api.game.specialitem
-
ClassDescriptionThe default use handler of a special item
It'll send a warning to the player whenever he's using itRepresents the type of SpecialItem and not one for every given item to the player.Represents a session of a special item use
A new session is created every time someone uses a special item.
Make sure to callSpecialItemUseSession.stop()
, even when you're handler, after you're done as the plugin will invokeSpecialItemUseSession.handleStop()
for EVERY still active session after the round ended.
Also make sure to invokeSpecialItemUseSession.takeItem()
if you wish the item to be taken away