Passenger packet

Discussion in 'Spigot Plugin Development' started by FreeWall, May 31, 2016.

  1. Hi,
    is there some client packet to setting entity's passenger instead of entity.setPassenger(Entity) method?
    I belive there is, I found 0x40 packet id here: http://wiki.vg/Protocol#Set_Passengers, but I can't figure out how to send this 0x40 packet. There is no PacketPlayOutPassengerEntity or something like that.

    Thank's a lot.
     
  2. Try PacketPlayOutAttachEntity, I think it will work.
     
  3. Sorry, I forgot to mention it, I already tried PacketPlayOutAttachEntity, but it seems it doesn't work, nothing happened.

    For a record, I'm trying to disguise blocks to player (like BlockHunt/Hide n Seek game) and I'm trying to attach FallingBlock to ArmorStand with packets, but I can't firuge out how to attach it.
     
  4. I'm trying to do a similar thing. Just wondering if you ever figured it out.
     
  5. Why don't print out current packets to check what packet it is?
     
  6. It's very old post, But I really wanna help one like me.
    The answer is use PacketPlayOutMount packet.
     
    • Like Like x 1
    • Useful Useful x 1