-
Bug
-
Resolution: Unresolved
-
None
-
1.15.2
-
None
-
Plausible
-
(Unassigned)
Using a loot table, I made an exploration map for EndCity destination type.
When looting from this table, the game completely freezes up for about 20s (counted) and then the map is generated and given.
This was for an EndCity literally 37 blocks away, found using the /locate command (which took almost no time).
My assumption is that this happens due to trying to do the "river" style on the map, and probably also affects Nether Fortresses in the same way (I haven't tested, just a guess).
Since this is the case, my proposal would be to simply make the "river" generation an optional value (like skip_existing_chunks) so that datapack authors can turn off this since it is unnecessary for EndCity. Or just make a check for dimension the structure is in and just don't do the "river" styling for end and nether. Whichever one makes more sense.
Here is the loot table I made for the endcity map:
{ "type": "minecraft:generic", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "minecraft:map", "weight": 5, "functions": [ { "function": "minecraft:exploration_map", "destination": "EndCity", "decoration": "target_x", "zoom": 3, "skip_existing_chunks": false }, { "function": "minecraft:set_nbt", "tag": "{\"display\": {\"MapColor\": 16711935},\"to_explore_map\": map_endcity}" }, { "function": "minecraft:set_name", "name": "End City Explorer Map" } ] } ] } ] }
- relates to
-
MC-126244 '/locate', explorer maps, and treasure maps can cause extreme TPS lag, even leading to a complete server freeze if structure generation is turned off
- Resolved