SpawnEntityEvent

Called when the given entity spawns in to the given world.

Functions

Link copied to clipboard
abstract fun allow()

Allows this event to occur.

Link copied to clipboard
abstract fun deny()

Denies an event from occurring.

Link copied to clipboard
abstract fun isAllowed(): Boolean

Checks if this event is allowed to happen.

Properties

Link copied to clipboard
abstract override val entity: Entity

The entity that is being spawned in to the world.

Link copied to clipboard
abstract val world: World

The world that the entity is being spawned in to.