NMS Entity -> Craft Entity

Discussion in 'Plugin Development' started by 8jy89hui, Aug 12, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    8jy89hui

    Does anyone by chance know how to convert NMS entities into Craft Entities? I know how to convert Craft -> NMS using .getHandle() but not the other way around. Any help is appreciated!
     
  2. Offline

    teej107

    @8jy89hui Aren't NMS entities and CraftEntities the same thing?
     
  3. Offline

    CoolDude53

    If you mean into bukkit entities, there is a built in method, all you need to do is CraftEntity#getBukkitEntity().
     
  4. Offline

    asksalman

    I have same problems, i don't understand so that
     
  5. Offline

    megamichiel

Thread Status:
Not open for further replies.

Share This Page