Hi. Recently I have played an amazing RPG server called WynnCraft, and they have both enemy and friendly NPCs, which have their own data on them. The curious thing I have noticed is that they have typical minecraft (non living) entities acting as NPCs. (XP orbs as a fairy, Blocks as a 'crab in a sand block', Stone as a falling stone NPC, etc.) I am really curious on how could this work? My guess would be a bunch of custom entities with custom path finding goals (for living entities), and some mumbo jumbo magic to make the entities move towards the player. Does anyone have more exact information? I'd like to recreate something like that.