Interface SpecialItemUseHandler
- All Known Implementing Classes:
- DeadSpecialItemUseHandler
public interface SpecialItemUseHandler
- 
Method SummaryModifier and TypeMethodDescriptionReturns the plugin that's in charge of this handlerUseSpecialItemUseSession(PlayerUseSpecialItemEvent)and pass it back to this event
 Make sure to callSpecialItemUseSession.stop()when the item did its thing
 Also optionally callSpecialItemUseSession.takeItem()when needed
- 
Method Details- 
getPluginPlugin getPlugin()Returns the plugin that's in charge of this handler- Returns:
- The plugin that created this handler
 
- 
openSessionUseSpecialItemUseSession(PlayerUseSpecialItemEvent)and pass it back to this event
 Make sure to callSpecialItemUseSession.stop()when the item did its thing
 Also optionally callSpecialItemUseSession.takeItem()when needed- Parameters:
- event- The informations needed to handle the event
- Returns:
- The session containing the actual handler of the item
 
 
-