Package 

Class EntityEquipEvent

  • 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.

    • 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)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HandlerList getHandlers()
      • Methods inherited from class com.tealcube.minecraft.bukkit.mythicdrops.events.EntityEquipEvent

        getItemStack, getLivingEntity, setItemStack
      • 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

      • EntityEquipEvent

        EntityEquipEvent(ItemStack itemStack, LivingEntity livingEntity)