TransWikia.com

How do I rename an item with add-ons?

Arqade Asked on February 20, 2021

How do I change the in-game display name of a block or item with add-ons?

One Answer

To rename items, in your resource pack, create a texts folder in the root directory. In texts, create a file that is the language code .lang. For example, United States would be en_US.lang, and the United Kingdom would be en_GB.lang. There is a different file for each language.
In each file, in the language it is in, to rename blocks, do this:

tile.block-id.name=Custom Name

And to rename items, do this:

item.item-id.name=Custom Name

If it is a custom item or block, use

tile.pack-name:blck-id=Custom Name

or

item.pack-name:block-id=Custom Name

Correct answer by EmojiMaker on February 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP