User Tools

Site Tools


tutorial:enchantments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:enchantments [2024/08/23 13:50] – [Adding enchantments since 1.21] fix typo solidblocktutorial:enchantments [2024/08/23 13:52] (current) – [Adding Translations] solidblock
Line 130: Line 130:
 ===== Adding Translations ===== ===== Adding Translations =====
 =) This part works both versions since 1.21 and before 1.21. =) This part works both versions since 1.21 and before 1.21.
 +
 You'll need to add a translation to your enchantment as well. Head over to your [[tutorial:lang|mod lang file]] and add a new entry: You'll need to add a translation to your enchantment as well. Head over to your [[tutorial:lang|mod lang file]] and add a new entry:
  
-<code javascript>+<code javascript resources/data/tutorial/lang/en_us.json>
 { {
     "enchantment.tutorial.frost": "Frost"     "enchantment.tutorial.frost": "Frost"
tutorial/enchantments.1724421013.txt.gz · Last modified: 2024/08/23 13:50 by solidblock