User Tools

Site Tools


tutorial:lang

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:lang [2019/07/24 16:48] – Fix text not being in code fudgetutorial:lang [2021/02/10 12:32] – [Translation format] mysterious_dev
Line 55: Line 55:
  
 And the tooltip will be displayed as "My Tooltip in day 4, and month 7" And the tooltip will be displayed as "My Tooltip in day 4, and month 7"
-In order to pass a string, we use ''%s'' instead of ''%d''+In order to pass a string, we use ''%s'' instead of ''%d''. If you want for it to literally show ''%'', use ''%%''
 For more information, see [[https://dzone.com/articles/java-string-format-examples|Java String.format]] (it works the same way). For more information, see [[https://dzone.com/articles/java-string-format-examples|Java String.format]] (it works the same way).
  
Line 89: Line 89:
 | StatusEffect | <code> mob_effect.<modid>.<registry-id> </code> || | StatusEffect | <code> mob_effect.<modid>.<registry-id> </code> ||
 | Enchantment | <code> enchantment.<modid>.<registry-id> </code> || | Enchantment | <code> enchantment.<modid>.<registry-id> </code> ||
-| EntityType | <code> entity_type.<modid>.<registry-id> </code> ||+| EntityType | <code> entity.<modid>.<registry-id> </code> ||
 | Potion | <code> potion.<modid>.<registry-id> </code> || | Potion | <code> potion.<modid>.<registry-id> </code> ||
 | Biome | <code> biome.<modid>.<registry-id> </code> || | Biome | <code> biome.<modid>.<registry-id> </code> ||
tutorial/lang.txt · Last modified: 2024/02/06 10:26 by rawdiamondmc