-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
@Deprecated(message = "Use the event from the api package instead", replaceWith = @ReplaceWith(imports = {"com.tealcube.minecraft.bukkit.mythicdrops.api.events.CustomItemGenerationEvent"}, expression = "CustomItemGenerationEvent")) public class CustomItemGenerationEvent extends MythicDropsCancellableEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CustomItemGenerationEvent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Boolean
isModified
private ItemStack
result
private CustomItem
customItem
-
Constructor Summary
Constructors Constructor Description CustomItemGenerationEvent(CustomItem customItem, ItemStack result)
-
Method Summary
Modifier and Type Method Description final Boolean
isModified()
final ItemStack
getResult()
final Unit
setResult(ItemStack result)
final CustomItem
getCustomItem()
final Unit
setCustomItem(CustomItem customItem)
HandlerList
getHandlers()
-
Methods inherited from class com.tealcube.minecraft.bukkit.mythicdrops.api.events.MythicDropsCancellableEvent
isCancelled, setCancelled
-
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CustomItemGenerationEvent
CustomItemGenerationEvent(CustomItem customItem, ItemStack result)
-
-
Method Detail
-
isModified
final Boolean isModified()
-
getResult
final ItemStack getResult()
-
getCustomItem
final CustomItem getCustomItem()
-
setCustomItem
final Unit setCustomItem(CustomItem customItem)
-
getHandlers
HandlerList getHandlers()
-
-
-
-