Entity Size (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.11

Syntax

[the] entity size of %livingentities%

Description

Changes the entity size of slimes and phantoms. This is not the same as changing the scale attribute of an entity. When changing the size of a slime, its health is fully resorted and will have changes done to its max health, movement speed and attack damage. The default minecraft size of a slime is anywhere between 0 and 2, with a maximum of 126. The default minecraft size of a phantom is 0 with a maximum size of 64.

Examples

spawn a slime at player:
	set entity size of event-entity to 5
	set name of event-entity to "King Slime Jorg"

View source