Wiki 9Minecraft Customthings Wiki
Customthings WikiDocumentation › Adding Icons And Lang Files

Adding Icons And Lang Files

Adding icons and localizations to your custom things is easy!

Upon first launch, /icons and /lang folders will be generated in the /config/CustomThings directory.

To add an icon for an item, simply throw a png file called itemName.png (itemName being the "name" field you defined for your food) in the /icons directory.

Lang files are a bit more complex. If you added some items without giving them lang entries (which you probably have, and thus why you are here), you will see they are called "item.customthings.itemname.name", "itemname" being whatever the name of the item is.

To add english translations for your food, create a file called en_US.lang in your /lang directory. Then inside, define the lang entries like so:

item.itemname.name=My Item

And so on and so forth. For other languages, see here for the names of the files.