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

Solved Riding Entities

Discussion in 'Development' started by Sandertv, Apr 8, 2017.

  1. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    *Citation needed*
     
  2. KairusDarkSeeker

    KairusDarkSeeker Spider Jockey

    Messages:
    25
    GitHub:
    kairusdarkseeker
    *Citation done*
     
  3. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    Please stop ****posting on threads. Your answers are at an incredibly low level. If you say PMMP has the linkEntity() function in the core, show us. I'll be happy to believe you once you do so. Just please don't answer if you don't add anything useful to the thread. That's not what I made this thread for.
     
  4. moska

    moska Baby Zombie

    Messages:
    105
    GitHub:
    supermaxalex
  5. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    I have actually tried it, with both ID 58 and 57, but both didn't have any effect, as far as I could see. Am I supposed to set it to the rider, or the ridden entity?
     
    jasonwynn10 likes this.
  6. moska

    moska Baby Zombie

    Messages:
    105
    GitHub:
    supermaxalex
    The rider
     
    jasonwynn10 and Sandertv like this.
  7. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    Ahhh :p
    That's what I've done wrong then! Thanks!
     
    jasonwynn10 likes this.
  8. moska

    moska Baby Zombie

    Messages:
    105
    GitHub:
    supermaxalex
    No problem. :p
     
  9. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    I got everything to work, and it works flawlessly now. Thanks @dktapps and @SuperMaXAleX for your help.
     
  10. moska

    moska Baby Zombie

    Messages:
    105
    GitHub:
    supermaxalex
    Here to serve everyone, everytime ;)
     
    Lolipop78709 and jasonwynn10 like this.
  11. HBIDamian

    HBIDamian HBIDamian Staff Member

    Messages:
    365
    GitHub:
    HBIDamian
    Please refrain from posting useless posts like this. It's totally unnecessary for the forum.

    I totally agree with Sandertv...
    This post is necessary to tell you what you are doing wrong
     
    Miste, Irish, InspectorGadget and 3 others like this.
  12. SleepSpace9

    SleepSpace9 Slime

    Messages:
    78
    GitHub:
    sleepspace9
    Maybe this way we could get back ridable minecarts. I hope it's also working with block entities.
     
    jasonwynn10 likes this.
  13. moska

    moska Baby Zombie

    Messages:
    105
    GitHub:
    supermaxalex
    FallingSand entity ?
     
  14. SleepSpace9

    SleepSpace9 Slime

    Messages:
    78
    GitHub:
    sleepspace9
    Yes, e.g. my BlockHunt plugin stopped working since MCPE v1.0.5 - the client crashes when the block entity ID is the same as the player ID.
    I'm now linking the entities, but the player is now under the block, so you also have to hit under it to damage the player. I will try to set the riding position by data flag.
     
    jasonwynn10 likes this.
  15. moska

    moska Baby Zombie

    Messages:
    105
    GitHub:
    supermaxalex
     
    jasonwynn10 likes this.
  16. SleepSpace9

    SleepSpace9 Slime

    Messages:
    78
    GitHub:
    sleepspace9
    Just found out that your order in setDataProperty() was wrong - instead it should be:
    PHP:
    $player->setDataProperty(self::/*or Entity::*/DATA_RIDE_POSITIONEntity::DATA_TYPE_VECTOR3F, [-0.022.30.19]);
     
  17. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    This is long fixed already :p
     
    jasonwynn10 likes this.
  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.