Skip to content

feat(minimessage): Add info about requiring namespace for custom textures in paths - #793

Open
Andre601 wants to merge 2 commits into
PaperMC:mainfrom
Andre601:feat/update-minimessage-sprite-path-info
Open

feat(minimessage): Add info about requiring namespace for custom textures in paths#793
Andre601 wants to merge 2 commits into
PaperMC:mainfrom
Andre601:feat/update-minimessage-sprite-path-info

Conversation

@Andre601

@Andre601 Andre601 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Textures that are added to an atlas from a different namespace require you to add said namespace to the Sprite path to actually show.

Example: Assume a texture called ruby.png exists in assets/example/textures/item/ and is loaded by the items Atlas (due to it collecting everything under item/ directory).
The correct way to display the sprite now is <sprite:items:"example:item/ruby">

This PR updates the docs on the sprite tag to not only mention that, but also that the sprite name to use depends on the atlas, as it may or may not add a prefix for the path to use.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
papermc-docs ✅ Ready (View Log) Visit Preview 360e744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant