Package 

Class EntityNameEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    
    public final class EntityNameEvent
    extends EntityNameEvent
                        

    Triggered when a LivingEntity is given an name. Allows modification of the name.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final LivingEntity livingEntity
      private String name
    • Constructor Summary

      Constructors 
      Constructor Description
      EntityNameEvent(LivingEntity livingEntity, String name)
    • 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.EntityNameEvent

        getLivingEntity, getName, setName
      • 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

      • EntityNameEvent

        EntityNameEvent(LivingEntity livingEntity, String name)