feat(minimessage): Add info about requiring namespace for custom textures in paths - #793
Merged
Strokkur424 merged 3 commits intoSep 27, 2026
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
olijeffers0n
reviewed
Sep 6, 2026
The goal of this change was to raise awareness of the sprite being namespaced. The proposed change to this was, in my opinion, far too convoluted and wordy. For the goal of displaying that namespaces may be relevant, expanding the example should be good enough.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.pngexists inassets/example/textures/item/and is loaded by the items Atlas (due to it collecting everything underitem/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.