LogicUsing Events
Entity Spawn
Triggers when a non-player entity spawns in a region.
This event fires when an entity naturally spawns or is spawned by other means (like a spawner) inside a region. It does not trigger for entities spawned by the Spawn Entity action.
Action Values
Entity: The entity that spawned.Location: The location where the entity spawned.
Event Configuration
- Entity Type: Filter to only trigger for specific entity types.
- Cancel Event: If
true, the entity will be prevented from spawning.
Use Cases
- Preventing hostile mobs from spawning in a designated safe area.
- Automatically taming any wolves that spawn in a region.
- Applying custom names or equipment to naturally spawned mobs.