Closed MelonHell closed 10 months ago
I personally don't think this is a good idea. The exception should be replaced with a warning, but minestom should not be responsible for adding minecraft data converters to the loaders. They did this sort of change in 1.17 (I think? With pathblocks) and they are going to do it again.
Minestom should not implement world raw patches like minecraft does, imo. What you could do however is make a PR for a DataFixer API where it is possible to hook into the anvil loaders loading mechanism to patch worlds.
Then everyone can implement these patches themselves or use libraries like my https://github.com/cafestube/ExternalDataConverter/ to patch the worlds
I am in agreement that Minestom should not be responsible for converting old worlds. It should work on the version Minestom is currently on and any behavior from other versions is undefined.
AnvilLoader crashes on minecraft:grass
I think you can add something like this to AnvilLoader