Uses of Class
com.github.pinont.singularitylib.api.items.ItemInteraction
Packages that use ItemInteraction
Package
Description
-
Uses of ItemInteraction in com.github.pinont.singularitylib.api.event
Methods in com.github.pinont.singularitylib.api.event that return ItemInteractionModifier and TypeMethodDescriptionItemExecuteEvent.getInteraction()Gets the ItemInteraction that will be executed.Constructors in com.github.pinont.singularitylib.api.event with parameters of type ItemInteractionModifierConstructorDescriptionItemExecuteEvent(org.bukkit.event.player.PlayerInteractEvent event, org.bukkit.inventory.ItemStack item, ItemInteraction interaction) Creates a new ItemExecuteEvent. -
Uses of ItemInteraction in com.github.pinont.singularitylib.api.items
Methods in com.github.pinont.singularitylib.api.items that return ItemInteractionModifier and TypeMethodDescriptionabstract ItemInteractionCustomItem.getInteraction()Gets the interaction behavior for this custom item.static ItemInteractionItemInteraction.getInteraction(org.bukkit.plugin.Plugin plugin, org.bukkit.inventory.ItemStack item) Gets the interaction associated with the given ItemStack.Methods in com.github.pinont.singularitylib.api.items that return types with arguments of type ItemInteractionModifier and TypeMethodDescriptionstatic Set<ItemInteraction> ItemCreator.getInteractions()Gets all registered item interactions.Methods in com.github.pinont.singularitylib.api.items with parameters of type ItemInteractionModifier and TypeMethodDescriptionItemCreator.addInteraction(ItemInteraction itemInteraction) Adds an interaction to the item.