-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class EntityEquipEvent extends EntityEquipEvent
Triggered when a LivingEntity is given an ItemStack. Allows modification of the itemStack.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
EntityEquipEvent.Companion
-
Field Summary
Fields Modifier and Type Field Description private ItemStack
itemStack
private final LivingEntity
livingEntity
-
Constructor Summary
Constructors Constructor Description EntityEquipEvent(ItemStack itemStack, LivingEntity livingEntity)
-
Method Summary
Modifier and Type Method Description final ItemStack
getItemStack()
final Unit
setItemStack(ItemStack itemStack)
final LivingEntity
getLivingEntity()
HandlerList
getHandlers()
-
Methods inherited from class com.tealcube.minecraft.bukkit.mythicdrops.events.EntityEquipEvent
isCancelled, setCancelled
-
Methods inherited from class com.tealcube.minecraft.bukkit.mythicdrops.api.events.MythicDropsCancellableEvent
getEventName, isAsynchronous
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getItemStack
final ItemStack getItemStack()
-
setItemStack
final Unit setItemStack(ItemStack itemStack)
-
getLivingEntity
final LivingEntity getLivingEntity()
-
getHandlers
HandlerList getHandlers()
-
-
-
-