Entities (Expression) — Skript
Addon: Skript · Category: Expression · Since: 1.2.1, 2.5 (chunks), 2.10 (within)
Syntax
[(all [[of] the]|the)] %*entitydatas% [(in|of) (world[s] %-worlds%|%-worlds/chunks%)]Description
All entities in all worlds, in a specific world, in a chunk, in a radius around a certain location or within two locations. e.g. <code>all players</code>, <code>all creepers in the player's world</code>, or <code>players in radius 100 of the player</code>.
Examples
kill all creepers in the player's world
send "Psst!" to all players within 100 meters of the player
give a diamond to all ops
heal all tamed wolves in radius 2000 around {town center}
delete all monsters in chunk at player
size of all players within {_corner::1} and {_corner::2}}