EbXL 3.15.5 Log Spam be Gone! (1.7 update – Tooltip Localization)

Another emergency fix for the 3.15.x branch to deal with log spam slowing down world generation.

Download EbXL 3.15.5

Bug fix:

  • Commented out debug code from flower generation that was causing lag due to log spam.

I’ve been working on finally getting the EbXL 3.15 branch ready to be re-synced with github again so that we can finally have other people able to contribute to out code again, along with doing some minor tasks on the build for 1.7, mainly focusing on code that we can bring back to MC 1.6 stuff such as localization in tool tips. It is almost ready to be re-synced again and we just need to make sure that everything matches on up and then we will be good to go and other’s can once more push bug fixes if they are needed.

So in starting in EbXL 3.15.x we started adding tool tip flavor text to things like flowers and other such things. There were two minor issues with it, firstly for longer flavor text/descriptions each line of the text had to be manually separated, and hard coded into the mod itself. With the work that we have been doing in 1.7 that will no longer be an issue, as we will be able to simple enough back port the update to allow for wrapping formatted text in tool tips.

As you can see by this example I have also been working on getting the mod config screen up and running, and although it is nowhere near complete, it is progressing nicely. Unlike the video settings screen in 1.7, the buttons on our config screen actually make the clicking sound when you use them and also have can tool tips to better describe what they do. Also the code that for adding new properties has been simplified a bit more and now only needs the property to be defined, as the button text and the tool tip are now localized. Due to the server not having access to the resource packs and thus localization the actual config file will not be able to be localized as I understand it, but you could easily enough edit the configuration on a client and then copy the config on over to a server/mod pack.

You may have noticed that in the screen shot the the tool text switched colors, and although you can’t see it from just the one screen shot, the tool tips can each have their own default color for text although it defaults to gray if no color is specified as the first part of the localization string. Unlike the vanilla formatting codes (although this is virtually the same codes) when you use the reset command in localization definitions it will remove any formatting and will reset it to the default color for the tool tip be it gray or some other color that was specified for that tool tip’s text instead of white like vanilla does, unless of course you have set the default text color to white. (Or is it black by default, I can never remember.)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.