Game Effects with Data (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.14

Syntax

[record] song (of|using) %itemtype%

Description

Creates game effects that require some extra information, such as colors, particle counts, or block data. Game effects consist of combinations particles and/or sounds that are used in Minecraft, such as the bone meal particles, the sound of footsteps on a specific block, or the particles and sound of breaking a splash potion. Game effects not present here do not require data and can be found in the Game Effect type. Data requirements vary from version to version, so these docs are only accurate for the most recent Minecraft version at time of release.

Examples

play compost success sound effect to player

View source