Class AutoEnchantEvent
java.lang.Object
org.bukkit.event.Event
io.github.thebusybiscuit.slimefun4.api.events.AutoEnchantEvent
- All Implemented Interfaces:
Cancellable
- Author:
- WalshyDev
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
getItem()
This returns theItemStack
that is being enchanted.boolean
void
setCancelled
(boolean cancel) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AutoEnchantEvent
-
-
Method Details
-
getItem
This returns theItemStack
that is being enchanted.- Returns:
- The
ItemStack
that is being enchanted
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-