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

Loyalty to entity?

Discussion in 'Help' started by NTT, May 18, 2021.

  1. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    Does anyone know how to add loyalty to a custom entity? I'm working on a plugin that lets you throw a sword and it comes back like Trident. But I don't have the code for this yet.
    Thank you
     
  2. Axon

    Axon Zombie

    Messages:
    276
    I may be wrong, The LOYALTY enchantment is not implemented in pocketmine, and throwing swords like a trident isn't possible in the clients.
    Correct me if I'm wrong
     
    Agent likes this.
  3. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    true
    but this is loyalty to entity
     
  4. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Just set motion towards the player?
     
    Axon likes this.
  5. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    oh, nice idea
    also how to make them spinning around you
     
  6. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    math
     
    Axon 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.