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

Solved Interactive tag

Discussion in 'Development' started by yuko fuyutsuki, May 6, 2018.

  1. yuko fuyutsuki

    yuko fuyutsuki Slime

    Messages:
    77
    GitHub:
    fuyutsuki
    I want to do the same thing when holding a particular item (eg a stick), but it will not work with the same code.
    How can I do the above behavior?
     
    RyanShaw likes this.
  2. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    I think this should be using only on entity, i've never seen this on doing some events.. same on pc
     
    yuko fuyutsuki likes this.
  3. yuko fuyutsuki

    yuko fuyutsuki Slime

    Messages:
    77
    GitHub:
    fuyutsuki
    Yes. So I tried that with AddEntityPacket but it was impossible.
     
  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    You could also try sending a custom resource pack with a retextured fishing rod and a custom translation for the fish button's text
     
    yuko fuyutsuki likes this.
  5. yuko fuyutsuki

    yuko fuyutsuki Slime

    Messages:
    77
    GitHub:
    fuyutsuki
    Since I want to use buttons with multiple items, so I do not plan to use that method.
     
  6. yuko fuyutsuki

    yuko fuyutsuki Slime

    Messages:
    77
    GitHub:
    fuyutsuki
    @dktapps Do you know how to do this in the current pmmp specification?
     
  7. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    You cannot do this currently, MCPE has this hardcoded to a couple items and entities. The best you could do would be to either use a resource pack and retexture the items or to spawn an invisible entity in the middle of the screen and set the interactive tag when hovering over it.
     
    Last edited: May 10, 2018
  8. yuko fuyutsuki

    yuko fuyutsuki Slime

    Messages:
    77
    GitHub:
    fuyutsuki
    Ok, thx.
     
  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.