On Pig Zap (Event) — Skript

Addon: Skript · Category: Event · Since: 1.0

Syntax

[on] pig[ ]zap

Description

Called when a pig is stroke by lightning and transformed into a zombie pigman. Cancel the event to prevent the transformation.

Event Values

  • event-command sender
  • event-entities
  • event-entity
  • event-entity type
  • event-location
  • event-transform reason
  • event-world

Examples

on pig zap:

View source