Package cn.nukkit.event.entity
Class EntitySpawnEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.entity.EntityEvent
cn.nukkit.event.entity.EntitySpawnEvent
- All Implemented Interfaces:
Cancellable
@PowerNukkitDifference(since="1.4.0.0-PN",
info="Is cancellable only in PowerNukkit")
public class EntitySpawnEvent
extends EntityEvent
implements Cancellable
- Author:
- MagicDroidX (Nukkit Project)
-
Field Summary
Fields inherited from class cn.nukkit.event.entity.EntityEvent
entity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
int
getType()
boolean
boolean
isHuman()
boolean
isItem()
boolean
boolean
Methods inherited from class cn.nukkit.event.entity.EntityEvent
getEntity
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
EntitySpawnEvent
-
-
Method Details
-
getHandlers
-
getPosition
-
getType
public int getType() -
isCreature
public boolean isCreature() -
isHuman
public boolean isHuman() -
isProjectile
public boolean isProjectile() -
isVehicle
public boolean isVehicle() -
isItem
public boolean isItem()
-