Ever wanted a colors in your mcmod.info file or on the extra description of a item.
Adding Color On Item
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack itemStack, EntityPlayer player, List dataList, boolean {
dataList.add("§aExtra Description");
}
// I am seeing a emote next to boolean that is just a "b"
//use the § and then add the letter or number for the color
What The Different Letters and Numbers Do
§a= Lightish Green
§b= Light Blue
§c= Light Red
§d= Light Pink
§e= Light Yellow
§1= Dark Blue
§2= Green
§3= Cyan Blue
§4= Red
§5= Darker Pink
§6= Orange
§7= Gray
§8= Dark Gray
§9= Blue
§0= Black
Those are somewhat accurate
Using with mcmod.info
This should work with all the things I put the § symbol in front of DOES NOT WORK ON MOD ID
When using source code, not the information file, you can use the ChatFormatting (or EnumChatFormatting depending on the version) class which contains the effect so you don't have to use that symbol, but the hex colors. It is much neater
Yeah, with the symbol, it seems to leave a weird A in front of the colored text. Dunno why, but it is annoying.
Rollback Post to RevisionRollBack
I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
Ever wanted a colors in your mcmod.info file or on the extra description of a item.
Adding Color On Item
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack itemStack, EntityPlayer player, List dataList, boolean {
dataList.add("§aExtra Description");
}
// I am seeing a emote next to boolean that is just a "b"
//use the § and then add the letter or number for the color
What The Different Letters and Numbers Do
§a= Lightish Green
§b= Light Blue
§c= Light Red
§d= Light Pink
§e= Light Yellow
§1= Dark Blue
§2= Green
§3= Cyan Blue
§4= Red
§5= Darker Pink
§6= Orange
§7= Gray
§8= Dark Gray
§9= Blue
§0= Black
Those are somewhat accurate
Using with mcmod.info
[
{
"modid": "colortutorial",
"name": "§9ColorTutorial",
"description": "§5How To Change Text Color",
"version": "§21.0",
"mcversion": "§71.7.10",
"url": "",
"updateUrl": "",
"authorList": ["§5Soggy_Mustache"],
"credits": "§5Soggy_Mustache",
"logoFile": "",
"screenshots": [],
"dependencies": []
}
]
Yeah, with the symbol, it seems to leave a weird A in front of the colored text. Dunno why, but it is annoying.
I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
To take the test, check out
https://minecraftnoobtest.com/test.php
Don't click this link, HE is haunting it...
Yeah I started doing that not to long after this post.