Krzysztof Wiśniewski 0236451ac8
Add block migrations to mitigate damage after block renames (#1125)
* Add block  migrations logic

* TEMP: Example migration

* Adjust block migrations according to review

* Fix indentation in example file

* Remove unused migration enums

* Fix indentation in example file

* Extract asset ID creation to separate function

* Remove example migration

* Restore readAllFilesInAddons to shrink the diff

* Revert "Extract asset ID creation to separate function"

This reverts commit 3fea996152bd464643a9d84a52008e568f726f34.

* Shrink diff in assets.zig

* Fix migration behavior with empty migration map

* Restore birch_log.png

* Shrink diff

* Fix use of commonBlocksMigrations

* Remove biome and item migrations code

* Remove Palette changes

* Apply review suggestions

* Fix use after free in migration code

* Revert readAllZonFilesInAddons back to how it was but with migrations included

* Remove stray whitespace

* Remove stray defer

* Fix style issues

* Apply review suggestions

* Fix formatting issues

* Apply review suggestions

* Apply review suggestions

* Remove addon name from migrations

* Change migration notation to list of objects

* Apply review suggestions

* Apply review suggestions

* Apply review suggestions
2025-03-05 19:43:43 +01:00
..
2025-03-05 19:22:53 +01:00