1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

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

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

  1. HeyDeniis_

    HeyDeniis_ Baby Zombie

    Messages:
    137
    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. Axon

    Axon Zombie

    Messages:
    276
    I think the banner messages are client side, for translation and etc. Not sure though.
     
    Agent likes this.
  3. Axon

    Axon Zombie

    Messages:
    276
    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"]);
     
    Agent likes this.
  4. Mcbeany

    Mcbeany Spider Jockey

    Messages:
    33
    GitHub:
    mcbeany
    Axon likes this.
  5. Axon

    Axon Zombie

    Messages:
    276
    The compound tag for a customized banner is

    PHP:
    string(76"
           Patterns
    PatterngraColorPatternbriColor"
     
    Agent likes this.
  6. HeyDeniis_

    HeyDeniis_ Baby Zombie

    Messages:
    137
    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.
     
  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.