java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.entity.CreatureSpawnEvent
- All Implemented Interfaces:
Cancellable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enum to specify the type of spawning -
Constructor Summary
ConstructorsConstructorDescriptionCreatureSpawnEvent(EntityType<?> type, Location location, CreatureSpawnEvent.SpawnReason reason) -
Method Summary
Methods inherited from class org.cloudburstmc.api.event.Event
isCancelled, setCancelled, setCancelledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
CreatureSpawnEvent
public CreatureSpawnEvent(EntityType<?> type, Location location, CreatureSpawnEvent.SpawnReason reason)
-
-
Method Details
-
getReason
-
getEntityType
-
getLocation
-