Entity - is From a Mob Spawner (Condition) — Lusk

Addon: Lusk · Category: Condition · Since: 1.0.2

Syntax

%entities% (is|are) ([a] spawner entit(y|ies)|from [a] [mob] spawner)

Description

Checks whether this entity was spawned from a mob spawner.

Examples

on right click:
	if entity is from a spawner:
		broadcast "you clicked a mob that has spawned from a spawner!"

View source