Package net.swofty.item.impl
Interface Interactable
- All Known Implementing Classes:
SkyBlockMenu
public interface Interactable
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanonInventoryInteract(SkyBlockPlayer player, SkyBlockItem item) default voidonLeftInteract(SkyBlockPlayer player, SkyBlockItem item) default voidonRightInteract(SkyBlockPlayer player, SkyBlockItem item)
-
Method Details
-
onRightInteract
-
onLeftInteract
-
onInventoryInteract
- Parameters:
player- The player who interacted with the itemitem- The item that was interacted with- Returns:
- Whether or not to cancel the event
-