Very Many Players (Fabric)

Very Many Players (Fabric)

2M Downloads

Spectator players affect mobs

Zintux opened this issue ยท 2 comments

commented

Describe the bug
Spectator players affect mob pathfinding and despawning
To Reproduce
Steps to reproduce the behavior:

  1. /gamerule spectatorsGenerateChunks true (works with false too but in a chunk loaded area)
  2. /summon minecraft:husk
  3. Notice how husk starts pathfinding when only spectator player is nearby + despawns if spectator is 128 blocks away.
    Also works in the opposite direction (mobs won't despawn if spectator is nearby and there is another one player 128+ blocks away)

Expected behavior
Husk won't neither pathfind or despawn

Screenshots
Videos instead:
With VMP - https://youtu.be/T_4QU3J3t8w
Without VMP - https://youtu.be/gNcn9QfKOB4

Runtime info:

  • OS: Windows 10
  • Minecraft version: 1.21.4
  • Mod version: vmp-fabric-mc1.21.4-0.2.0+beta.7.191-all

Other mods
c2me-fabric-mc1.21.4-0.3.1.2+rc.1.0
fabric-api-0.119.2+1.21.4
lithium-fabric-0.15.0+mc1.21.4
modmenu-13.0.3
ScalableLux-0.1.2+beta.1+fabric.6d46f24-all
sodium-fabric-0.6.10+mc1.21.4

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.

Additional context
Seems that mob spawning isn't affected by this bug

commented

Try reproduce with use_optimized_entity_tracking set to false.

commented

Can reproduce the issue the same way