Class AbstractTool
java.lang.Object
net.mathias2246.buildmc.api.item.AbstractCustomItem
net.mathias2246.buildmc.api.item.abstractTypes.AbstractTool
- All Implemented Interfaces:
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, onRightClick
-
Constructor Details
-
AbstractTool
public AbstractTool(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull org.bukkit.NamespacedKey key)
-