feat(minimessage): Add info about requiring namespace for custom textures in paths - #793
Open
Andre601 wants to merge 2 commits into
Open
feat(minimessage): Add info about requiring namespace for custom textures in paths#793Andre601 wants to merge 2 commits into
Andre601 wants to merge 2 commits into
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
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.