MaxenceDC / sparsestructures

A simple and configurable one-mixin mod that makes all (even datapacks and modded) structures more spread out (or more common!), essentially making them rarer/easier to find. Useful in big modpacks with a lot of structures mod to encourage exploration and make the experience more challenging or balanced.
https://modrinth.com/mod/sparsestructures
MIT License
4 stars 4 forks source link

Port to 1.20.6 #27

Closed SequentialEntropy closed 2 months ago

SequentialEntropy commented 2 months ago

This is a port to 1.20.6

1.20.6 split the load function into loadFromResource and loadFromNetwork (in net.minecraft.registry.RegistryLoader)

I've changed the mixin to inject into the net.minecraft.registry.RegistryLoader.parseAndAdd function since both of the two methods use it.

On another note, it looks like 2.1.2 was released, but gradle.properties still says 2.1.1?

MaxenceDC commented 2 months ago

Thank you for this PR, I'll look into it today!

MaxenceDC commented 2 months ago

Well looks good to me, thank you, I'll upload it asap!