ItemStack name translations

Discussion in 'Plugin Development' started by thechrisanator, Sep 9, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    thechrisanator

    How the heck do I translate itemstack names to different languages? And I mean every single item, enchantment, potion effect, etc. Im assuming some lang file, and Ive looked, oh I've looked for lang files online. But they just dont exist.
    Anybody got an idea? Thanks
     
  2. Offline

    timtower Administrator Administrator Moderator

    @thechrisanator Do you need to rename them if the client does it already?
     
  3. Offline

    thechrisanator

    The client isnt doing it. Its for a GUI with every enchantment and potion effect. These names are put into the lore, and grabbed with PotionEffectType.getName() or whatever.
    I have no clue how to get the name in any other language than english.
     
  4. Offline

    timtower Administrator Administrator Moderator

    Server doesn't know about the languages, not everything at least. There are some ways for items I believe but not sure for potion effects.
     
Thread Status:
Not open for further replies.

Share This Page