Attach leash/fishing rod string to arrow

Discussion in 'Plugin Development' started by FisheyLP, May 11, 2015.

Thread Status:
Not open for further replies.
  1. I'm making a hookshot plugin. First I set the passenger of the arrow to an invisible bat, and attach a leash to it, to make it look like a real hookshot. But that only works when I aim pretty straight forward. When I aim a little bit too low or too high, the bat gets shot from the arrow, the arrow dissappears and the bat just flies away.

    Is there a way to attach a leash/fising rod string directly to the arrow? Normally it is only possible to EntityInsentients...

    I am fairly familiar with Packets/Reflections/NMS
     
  2. Offline

    MexMaster

    [​IMG]

    This is a screenshot from the EntityFishingHook class and since the field "hooked" is just an Entity you should be able to attach FishingHooks to anything.
    So far the theory.
    This is just an idea I wanted to mention

    @FisheyLP
     
  3. @MexMaster Can you send me that GitHub link for further researches?
     
  4. Offline

    MexMaster

    Last edited: May 11, 2015
  5. Offline

    Tecno_Wizard

  6. Offline

    MexMaster

  7. Offline

    Tecno_Wizard

    @MexMaster, moto x 2013. Said this would give it to us in just a few weeks 2 months ago.
     
Thread Status:
Not open for further replies.

Share This Page