Solved Is 'Banners lore' entirely on the client side?

Discussion in 'Development' started by HeyDeniis_, May 21, 2021.

  1. HeyDeniis_

    HeyDeniis_ Baby Zombie

    Messages:
    115
    Are the messages describing which patterns exist on the banner entirely on the client side and is there no way to remove it without the banner losing its design?
     

    Attached Files:

  2. ErikX

    ErikX Baby Zombie

    Messages:
    116
    GitHub:
    ErikPDev
    I think the banner messages are client side, for translation and etc. Not sure though.
     
  3. ErikX

    ErikX Baby Zombie

    Messages:
    116
    GitHub:
    ErikPDev
    I've tried setting the lore on the banner but I'm a bad coder. It didn't work.
    You can try it yourself though
    PHP:
    $player->getInventory()->getItemInHand()->setLore(["§cLorem something"]);
     
  4. Mcbeany

    Mcbeany Silverfish

    Messages:
    22
    GitHub:
    mcbeany
    ErikX likes this.
  5. ErikX

    ErikX Baby Zombie

    Messages:
    116
    GitHub:
    ErikPDev
    The compound tag for a customized banner is

    PHP:
    string(76"
           Patterns
    PatterngraColorPatternbriColor"
     
  6. HeyDeniis_

    HeyDeniis_ Baby Zombie

    Messages:
    115
    well, I do not know if this solution is the most appropriate but I managed to edit by means of texture the translations of the game and all that were about the banner I renamed to '§' and is a space in the place of the message but is already an improvement.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.