Tick Inactive Villagers does not appear to be working

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      ShaneBees-MacBook-Pro:~ ShaneBee$ java -version
      openjdk version "1.8.0_242"
      OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
      OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)

    • git-Spigot-c574e08-37f32da
    • none
    • Yes

      I have tick inactive villages set to true:

      tick-inactive-villagers: true
      

      The issue is, villagers don't seem to tick when I'm not close to them. I did a little video to show this happening. When I am close to the villagers, they tick as they should, but as soon as I move further away, their tick rate slows right down.
      I created a new instance of a Spigot server, and none of the default settings have been changed.

      Video:
      https://youtu.be/9Hye-FQkiOs

          [SPIGOT-5579] Tick Inactive Villagers does not appear to be working

          Shane Bee added a comment -

          PS I was going to do a PR for this, but I couldn't figure out how to edit/patch an already existing patch (The entity activation range patch).

          If you (md_5) could add that, I would greatly appreciate it.

          Maybe also a TRADER range as well (trader llamas and wandering traders)? I considered using EntityAbstractVillager for the villager one but realized the wandering trader might try walking away and the llama wouldn't be ticking at the same rate.

          Shane Bee added a comment - PS I was going to do a PR for this, but I couldn't figure out how to edit/patch an already existing patch (The entity activation range patch). If you (md_5) could add that, I would greatly appreciate it. Maybe also a TRADER range as well (trader llamas and wandering traders)? I considered using EntityAbstractVillager for the villager one but realized the wandering trader might try walking away and the llama wouldn't be ticking at the same rate.

          Shane Bee added a comment -

          Ah okay that makes sense.

          I guess we could turn this into a suggestion, is it possible to add an option in the Spigot.yml for a villager's entity activation range to be separate from other entities?

          Shane Bee added a comment - Ah okay that makes sense. I guess we could turn this into a suggestion, is it possible to add an option in the Spigot.yml for a villager's entity activation range to be separate from other entities?

          md_5 added a comment -

          The option only ticks villager specific functions, not their AI, movement etc

          md_5 added a comment - The option only ticks villager specific functions, not their AI, movement etc

            Assignee:
            Unassigned
            Reporter:
            Shane Bee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: