Add Item Renaming & Custom Armour Dye Colours #234
Merged
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.
Item Renaming
With this you're able to give any one of your items a custom client-sided name by executing a simple command when holding an item!
Example:
/skyblocker renameItem <textComponent>
Renaming is done through text components which gives you maximal control over what the formatting of the text will be. You can visit this website here to generate text components of your own!
The only requirement to renaming an item is that it must have a uuid within its NBT.
Custom Armour Dye Colours
Along with being able to add custom item names, you'll also be able to set custom dye colours for any leather armour piece with the use of a simple command!
Command:
/skyblocker dyeColor <HEX code>
Example:
/skyblocker dyeColor "#FFFFFF"
You can use any colour you want, all you need is its HEX code!