-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class PreIdentificationEvent extends MythicDropsCancellableEvent
Fired when a Player identifies an item. Can modify the result.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PreIdentificationEvent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Boolean
isModified
private Tier
tier
private ItemStack
unidentifiedItem
private final Player
identifier
-
Constructor Summary
Constructors Constructor Description PreIdentificationEvent(ItemStack unidentifiedItem, Tier tier, Player identifier)
-
Method Summary
Modifier and Type Method Description final Boolean
isModified()
final Tier
getTier()
final Unit
setTier(Tier tier)
final ItemStack
getUnidentifiedItem()
final Unit
setUnidentifiedItem(ItemStack unidentifiedItem)
final Player
getIdentifier()
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
-
PreIdentificationEvent
PreIdentificationEvent(ItemStack unidentifiedItem, Tier tier, Player identifier)
-
-
Method Detail
-
isModified
final Boolean isModified()
-
getUnidentifiedItem
final ItemStack getUnidentifiedItem()
-
setUnidentifiedItem
final Unit setUnidentifiedItem(ItemStack unidentifiedItem)
-
getIdentifier
final Player getIdentifier()
-
getHandlers
HandlerList getHandlers()
-
-
-
-