Closed uncovery closed 4 years ago
We will move to use these two datasets once 1.13 is live:
https://github.com/rom1504/minecraft-assets https://github.com/PrismarineJS/minecraft-data
This is basically done, except that the data is not always up to date.
The only source for the full block icons is on the wiki, not in the minecraft jar. Ideally, this function would be maintained in the minecraft-wiki-extractor: https://github.com/PrismarineJS/minecraft-wiki-extractor/issues/29#issuecomment-629038677
This is basically done, except that the data is not always up to date.
I have now written thsi code so that at least we can get the latest version easier: https://github.com/uncovery/minecraft_datascript
The wiki issue is basically solved here: https://github.com/uncovery/uncovery_me/blob/master/includes/wiki_data.inc.php#L3 until it will be integrated here: PrismarineJS/minecraft-wiki-extractor#29 (comment)
I will consider this as solved, as there might be new issues coming up with future versions anyhow. We can now automatically extract 1.15.2 data in full.
We currently store item icons by using data in the idemdata array (such as here). We re-download this data every 24 hours and store it on our server.
Instead, we should be using the one-file data here and store the item position in the sprite in the data file for flexible use.
This also goes for the potions and banner patterns etc.
This is both a code improvement (for items where the icon currently exists) as well as a bug fix for items where the icon is currently broken (lingering potions etc)