How do you use colored fonts in .lang files?
//ads -- adsterra.com -- native banner
?>
I am making a custom texture pack with a .lang file, it looks something like this snippet:
enchantment.damage.all=Slayness
enchantment.damage.undead=Smite
enchantment.untouching=Silk Touch
enchantment.durability=Unbreaking
enchantment.lootBonus=Looting
enchantment.lootBonusDigger=Fortune
enchantment.lootBonusFishing=Luck of the Sea
enchantment.level.1=1
enchantment.level.10=Hax.
enchantment.level.127=Really?
I've tried to make colorful names like Making
enchantment.damage.all=Slayness
So it is this:
enchantment.damage.all=§4Slayness
Which, long story short, doesn't work.
Then I tried the \u00A74 key (Server MOTD):
enchantment.damage.all=\u00A74Slayness
Question
Is there anyway to make one object name colored using .lang files in texture packs?
UPDATE: What happens when I try enchantment.damage.all=§R§4Slayness
Pictures about "How do you use colored fonts in .lang files?"



How to change the font color of folder and file name
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ryutaro Tsukata, George Dolgikh @ Giftpundits.com, George Dolgikh @ Giftpundits.com, George Dolgikh @ Giftpundits.com

