Reducing Villager Lag - Code Solutions?

Discussion in 'Spigot Plugin Development' started by Big_Scary, Jun 14, 2016.

  1. My timings: https://timings.spigotmc.org/?url=15773380

    I know there are lots of issues, but I hope this thread will be about the villlagers. I know my players would lose their minds if I zapped a lot of the villagers, and rightly so - I'm sure they spent days or weeks building up communities of exactly the right villager types with ideal trade options.

    Aside from mass murdering villagers, do I have any options for reducing their CPU footprint? For example, I've heard that putting them in still minecarts is a major saver - but I don't know if that's really true.