-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Issue description:
When I enter specific locations in my migrated world, the game experiences extreme lag (massive FPS drop and near-freeze). After testing with VisualVM, it appears that NPC-related logic is consuming a large amount of resources in those areas.
If I use the NPC Wand and enable Freeze NPCs, the lag is immediately and significantly reduced. This strongly suggests that the issue is related to NPC AI, pathfinding, or collision processing.
Additional Notes
• This world was migrated from Minecraft 1.6.4, so some NPC data or NBT structures may be outdated or incompatible.
• The lag only happens in certain chunks, which may contain old NPCs or corrupted NPC data.
• Freezing NPCs consistently removes the lag, so the problem seems tied to active NPC behavior.
• This issue may be related to the previously reported NPC Spawner bug that caused severe lag. The symptoms are almost identical, so I am not sure whether this is a derivative or secondary effect of that problem.
Expected Behavior
NPCs should not cause extreme lag when entering specific areas, even in migrated worlds.
If crashed, link to crash report (use a site such as pastebin):
Versions:
- Minecraft: 1.7.10
- Forge:
- CustomNPC+: 1.10.2
Can it be reproduced with just CustomNPC+? If not, list the other mods required to reproduce the issue.