Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/content/docs/adventure/minimessage/format.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -549,12 +549,13 @@ Tag

Arguments
* `atlas` the atlas to use, e.g. `minecraft:blocks`.
* `sprite` the sprite to use, e.g. `item/emerald`.
* `sprite` the sprite to use, e.g. `item/emerald`. Name is based on the atlas used, may or may not have a prefix (e.g. `item/` for items atlas) and may require a namespace, if the texture is not stored in the `minecraft` namespace (e.g. texture paths from `assets/example/textures/item/` require `example:` as namespace).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `sprite` the sprite to use, e.g. `item/emerald`. Name is based on the atlas used, may or may not have a prefix (e.g. `item/` for items atlas) and may require a namespace, if the texture is not stored in the `minecraft` namespace (e.g. texture paths from `assets/example/textures/item/` require `example:` as namespace).
* `sprite` the sprite to use, e.g. `item/emerald`. The name is based on the atlas used. It may have a prefix (e.g. `item/` for items atlas). If the texture is not stored in the `minecraft` namespace it may also require a namespace (e.g. texture paths from `assets/example/textures/item/` require `example:` as namespace).

Feel like this is a bit wordy


Examples
```mm
Look at my <sprite:blocks:block/stone>!
This item costs 10 x <sprite:"minecraft:items":item/porkchop>.
This is a custom texture from a namespace: <sprite:items:"example:item/example">
```

### Head
Expand Down