Pre Phantom Spawn (Event) — SkBee

Addon: SkBee · Category: Event · Since: 2.16.0

Syntax

[on] pre phantom spawn[ing]

Description

Called before a phantom is spawned for an entity. Note: The phantom entity does not exist when this event is called only the entitytype exists. View the pre creature spawn event for more event values.

Event Values

  • event-entity
  • event-entitydata
  • event-location
  • event-minecraftentitytype
  • event-spawnreason

Examples

on pre phantom spawn:
	broadcast "Watch out %event-entity% a phantom is coming!"

View source