Steps to reproduce
Open a world with many maps, or create many maps by using empty maps.
Place a map in an item frame
Close and re-enter the world to clear the map cache
Use the following command to change the ID of the map in the item frame:
/data modify entity @n[type=item_frame] Item.components."minecraft:map_id" set value <id>
If the item frame is briefly blank, the map is loading. Try to change the map ID during that time frame.
Observed behaviour
The item frame is blank for a some amount of time, then it shows up. The more complex the map, the longer it takes to show up.
Afterwards, it loads immediately, unless the map ID is changed again while loading.
Expected behaviour
Either the map always immediately shows up, or at least always shows up immediately after being loaded once.
Notes
This especially impacts data pack creations, especially those using maps to display videos in-game.
For example, this data pack was generated using McMovieMaker. There, the game only manages to load one frame out of 5 every second, and this is constant regardless of the frame size of the video. The video needs to run for a long time for the video to play properly.
This is likely due to an abnormally long delay when reading the maps, which may be due to the somewhat obscure format used to save the maps, causing the game to take almost a second to read them. Additionally, the game starts reading/extracting the current image, and waits for it to finish before starting again, which makes caching extremely time-consuming.
Videos
- reproduction steps
- changing map ID while the map is still loading
- video data pack, initial video play
- video data pack, after playing the video for 45 minutes
Linked issues
relates to 2
Attachments
Comments 12
The source you provided (https://github.com/Futiax/MovieMaker) to create a lot of maps in your world is in french. Is there an alternative method to create a lot of maps effectively? Preferably, without the need for a third-party tool. It would also be helpful to know how many "a lot" of maps is, considering the vague estimate does not really help to reproduce the issue.
Additionally, I am unsure of step 2 β "2-On but the files in the right folders.". Could you clarify?
[Helper] Jiingy, I've updated my project on github, I've also reworded the problematic sentence, and finally, it's hardly possible to speed up the program more due to certain constraints like the map format which forces me to use a lib whose latest updates are starting to date, if you still want to go faster you can use a black and white video which will normally be converted faster.
From a few thousand the game starts to take a long time with each autosave despite the fact that all the maps are locked and therefore cannot be changed.
Please update the linked GitHub page to actually be in English and attach a minimal setup datapack where we can experience this issue.
As I don't know your config, I've set a very large one as a precaution, to make sure your game crashes on the 1st autosave attempt.
The Google Drive link you edited is not public and I cannot access it. This ticket will automatically reopen when you reply.
While this is similar to MC-11530, this doesn't affect Survival. Additionally, item frames no longer load line by line, but all at once. We're leaving this bug report open for Mojang to decide; personally I think it's likely that they won't fix it because maps just need some time to load.
I've simplified the description and the steps to reproduce for this bug report, if there's anything important I missed feel free to add it back.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki
We do not have enough information to find the cause of this issue.
To make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki