Class AbstractTool
java.lang.Object
net.mathias2246.buildmc.api.item.AbstractCustomItem
net.mathias2246.buildmc.api.item.abstractTypes.AbstractTool
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed,org.bukkit.Keyed
- Direct Known Subclasses:
AbstractSelectionTool
An abstract class that should be used to define custom tools for your plugin.
-
Field Summary
Fields inherited from class net.mathias2246.buildmc.api.item.AbstractCustomItem
CUSTOM_ITEM_PDC_KEY, customItemsRegistry -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTool(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull org.bukkit.NamespacedKey key) -
Method Summary
Methods inherited from class net.mathias2246.buildmc.api.item.AbstractCustomItem
buildDefaultItemStack, canUse, getCustomItemKey, getKey, getPlugin, giveToPlayer, giveToPlayer, giveToPlayer, isThis, onInteract, onInteractEvent, onLeftClick, onRightClickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
key
-
Constructor Details
-
AbstractTool
public AbstractTool(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull org.bukkit.NamespacedKey key)
-