Skip to content

[1.21.1] Server freezes when MineColonies raiders use arrows #350

Description

@Nymraks

Modloader

NeoForge

Minecraft version

1.21.1

Modloader version

21.1.116

Mod version

1.15.2

TenshiLib version

2.2.5

Description

I'm encountering server freezes lasting several seconds during MineColonies raids. These freezes consistently occur when MineColonies raiders using bows are active.

The freeze always coincides with repeated errors in the server console related to arrow entities and chunk save/unload operations.

I tested this using only the latest versions of MineColonies and Improved Mobs, along with their dependencies.
It seems to not affect MineColonies guards.

Steps to reproduce

  1. Get attacked by MineColonies raiders (e.g. in a barbarian camp or during a raid) using bows or crossbows.
  2. Leave the area (for example by teleporting elsewhere), presumably triggering chunk unload/save.
  3. A server freeze occurs (sometimes lasting up to ~10 seconds), accompanied by repeated console errors.

Mods that might affect the issue

https://www.curseforge.com/minecraft/mc-mods/minecolonies/files/7426008

Logs

https://gist.github.com/Nymraks/6f82dfcb539559bf6eb862e1c4e0f4cc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions