类 CreatureSpawnEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.entity.CreatureSpawnEvent
- 所有已实现的接口:
Cancellable
-
嵌套类概要
-
字段概要
-
构造器概要
构造器说明CreatureSpawnEvent
(int networkId, Position position, CreatureSpawnEvent.SpawnReason reason) CreatureSpawnEvent
(int networkId, Position position, CompoundTag nbt, CreatureSpawnEvent.SpawnReason reason) -
方法概要
从类继承的方法 cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
构造器详细资料
-
CreatureSpawnEvent
public CreatureSpawnEvent(int networkId, Position position, CompoundTag nbt, CreatureSpawnEvent.SpawnReason reason) -
CreatureSpawnEvent
@PowerNukkitOnly public CreatureSpawnEvent(int networkId, Position position, CreatureSpawnEvent.SpawnReason reason)
-
-
方法详细资料
-
getHandlers
-
getReason
-
getEntityNetworkId
public int getEntityNetworkId() -
getCompoundTag
-
getPosition
-