-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
@Deprecated(message = "Use the event from the api package instead", replaceWith = @ReplaceWith(imports = {"com.tealcube.minecraft.bukkit.mythicdrops.api.events.EntityNameEvent"}, expression = "EntityNameEvent")) public class EntityNameEvent extends MythicDropsCancellableEvent
-
-
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 final LivingEntity
getLivingEntity()
final String
getName()
final Unit
setName(String name)
HandlerList
getHandlers()
-
Methods inherited from class com.tealcube.minecraft.bukkit.mythicdrops.events.EntityNameEvent
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
-
-
Constructor Detail
-
EntityNameEvent
EntityNameEvent(LivingEntity livingEntity, String name)
-
-
Method Detail
-
getLivingEntity
final LivingEntity getLivingEntity()
-
getHandlers
HandlerList getHandlers()
-
-
-
-