Litematica (Forge)

Litematica (Forge)

336k Downloads

Game Freezes for 10-15 Seconds When Entering Nether with Large Schematics

arsn98 opened this issue ยท 1 comments

commented

My friend encountered an issue with Litematica on a large server with 80-120 players. When a player enters the Nether portal, the game freezes for about 10-15 seconds before resuming normal operation. This problem seems to be related to very large schematics, specifically a large item sorter.

Steps to Reproduce:

  1. Load the specific schematic (a very large item sorter) on a large server.
  2. Enter the Nether portal.
  3. Observe the delay and temporary freezing of the game.

Expected Behavior:
The game should transition smoothly between worlds without significant delays or freezing.

Actual Behavior:
There is a noticeable delay and freezing when entering the Nether, lasting about 10-15 seconds.

Suspected Issue:
It appears that Litematica may be trying to perform certain actions related to the schematic when changing worlds, especially given that the Nether and the End are likely hosted on different servers connected by a proxy server. This could be leading to excessive load times. It seems that Litematica repeatedly executes the Vanilla Data Fixer.

Additional Information:
Disabling the problematic schematic resolved the issue, suggesting that the schematic's complexity or its specific features contribute to performance issues during world transitions.

Logs/Console Output:
[21:43:51] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 3465 -> 3955
[21:44:02] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 3465 -> 3955
[21:44:02] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 3465 -> 3955
[21:44:03] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 3465 -> 3955
[21:44:03] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 3465 -> 3955
[21:44:03] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 3465 -> 3955

Environment:

  • Minecraft version: 1.21.1
  • Litematica version: Litematica-1.21.1-0.19.50
  • Malilib version: malilib 0.21.0

Note: Unfortunately, I cannot share the schematic as it is a proprietary development by his team.

commented

See my reply here --> #893 (comment)