-
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
EntityNameEvent.Companion
-
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)
-
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)
-
-
Method Detail
-
getHandlers
HandlerList getHandlers()
-
-
-
-