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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListgetItem()This returns theItemStackthat is being enchanted.booleanvoidsetCancelled(boolean cancel) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AutoEnchantEvent
-
-
Method Details
-
getItem
This returns theItemStackthat is being enchanted.- Returns:
- The
ItemStackthat is being enchanted
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelledin interfaceCancellable
-
getHandlerList
-
getHandlers
- Specified by:
getHandlersin classEvent
-