Posted July 20, 201510 yr Hey, I have been working on a mod which expands on Thermal Foundation's Enderium, adding tools for it, and I would like to color the item names so they match TF's. How would I do this in the code? Thanks for your help!
July 20, 201510 yr Hi I believe its EnumChatColor and stack.stackDisplayName (may not be correctly quoted from code). Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
July 20, 201510 yr EnumChatFormatting Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
July 20, 201510 yr Can't remember but something with EnumRarity Modding on 1.8 and the code there is public EnumRarity getRarity(ItemStack stack) { return EnumRarity.UNCOMMON; } Check in the ItemGoldenApple.class, golden apple name is colored
July 20, 201510 yr Author Thank you all, but now that I have that working, how do I do the same thing for Blocks?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.