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

Lores

Discussion in 'Development' started by Teamblocket, Apr 12, 2017.

  1. Teamblocket

    Teamblocket Zombie

    Messages:
    301
    GitHub:
    teamblocket
    i heard my friend talking about lores and stuff so I search it up and I found that theirs a getLore() and setLore() function can anyone explain to me how they work? I already tried "$item->setLore("Name");"
     
    OnTheVerge likes this.
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    I don't think there are any API methods for Lore in PMMP, and I am not sure if it is even in MCPE.
     
  3. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    I think @dktapps added those functions in the API3-network branch. At least I saw them popping by on my GitHub dashboard some time ago. I'm not entirely sure what they are, but I assume they're like on PC. Basically a text of 'lore' describing the item for example.
     
    HimbeersaftLP and corytortoise like this.
  4. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You're right, I just found it. Thanks for pointing it out.
    The additions in this commit should help you.
     
    Sandertv likes this.
  5. Teamblocket

    Teamblocket Zombie

    Messages:
    301
    GitHub:
    teamblocket
    Thanks
     
  6. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Too bad MCPE users can't view item lores though.
     
    OnTheVerge likes this.
  7. Teamblocket

    Teamblocket Zombie

    Messages:
    301
    GitHub:
    teamblocket
    Yea ik I was hoping it could make my CE plugin better :( I guess I have to stick with setCustomName()
     
  8. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Use setLore(), I'm sure v1.1 will have it.
     
  9. Irish

    Irish Baby Zombie

    Messages:
    156
    GitHub:
    irishpacks
    As long as they are on classic UI, they should be able to view the lore.
     
  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.