diff --git a/src/content/docs/guides/syntax.md b/src/content/docs/guides/syntax.md index 4dbd2b9..fd00a07 100644 --- a/src/content/docs/guides/syntax.md +++ b/src/content/docs/guides/syntax.md @@ -64,4 +64,14 @@ if ("block ~ ~-1 ~ minecraft:stone") { } else { /say Not on stone } +``` + +## Groupings +Groupings are used to group multiple commands together into one `mcfunction` file without declaring a new function. +This can be used for commands that need to be executed atomically. +```shulkerscript +group { + /say Hello + /say World +} ``` \ No newline at end of file