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

Quick question

Discussion in 'Development' started by Indexfire, Nov 14, 2020.

  1. Indexfire

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    Does anyone know what packet should be sent to the client to draw/remove the fishing line to a fishing bobber entity? I've got the rest of the code properly done but I'm not sure what packet to send to draw the fishing line
     
  2. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
  3. Indexfire

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    Did you mean AddEntityPacket? I can't find an AddActorPacket anywhere in the Nukkit source

    Thanks for the help though!

    Edit: Removing or killing the Fishing hook should also automatically delete the fishing line on the client right? Just being absolutely sure
     
  4. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    in nukkit it's AddEntityPacket, in pocketmine AddActorPacket
     
  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.