Explosive Yield (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.5, 2.11 (ghasts)

Syntax

[the] explosive (yield|radius|size|power) of %entities%

Description

The yield of an explosive (creeper, ghast, primed tnt, fireball, etc.). This is how big of an explosion is caused by the entity. Read <a href='https://minecraft.wiki/w/Explosion'>this wiki page</a> for more information. The yield of ghasts can only be set to between 0 and 127.

Examples

on spawn of a creeper:
	set the explosive yield of the event-entity to 10

View source