1.13.2 How do you create custom entities in Spigot 1.13.2?

Discussion in 'Spigot Plugin Development' started by Creeves, Feb 29, 2020.

  1. I've been trying to scrape together a way to create custom entities from various posts across spigot and I can't find any one tutorial that still works. Any help would be much appreciated.
     
  2. It depends what kind of 'custom' entity you want. I would try messing with the Entity methods such as setPassenger() and setGlowing() (the metadata of an entity is also really fun to mess with). You will still need a vanilla Minecraft entity (cow, zombies, pigs, etc) to do this. Otherwise I don't see how to do this without client mods (if it is possible I would like to know!).
     
  3. I mean one with custom pathfinder goals.
     
  4. You have to extend the entity you want to customize from nms and mess arouns with it. Since nms is not supported, you will have to play with it yourself to find a solution