This is a library that I will fill with "useful" pieces of code for my mods. (Right now mod, but you never know.) Here is a handy list of whats currently in the mod:
- A convoluded patch for MC-265322
To install it, add the following to your build.gradle file:
dependencies {
modImplementation 'io.github.gamelord2011.gmlrdlib:gmlrdlib-1.0.1'
}}Readthedocs.
To be honest, because I saw an extremely specific gap that needed to be filled by some sort of tool, and there was nothing. I used the fabric toolchain and leveraged spongepowered's mixin project to allow this to work.
Anti Grian Switch Reborn's lang system redone with this.
Undoubtedly, there are several better ways to do this. For example, I could take Wurst Imperium's approach and just reimplement the vanilla translation system in it's entirety. Or I could take an approach similar to NikOverflow's method and block signs and whatnot from reading them, but I wanted to take my own approach.
I leveraged sponegowered's Mixin library to hook into Minecraft translation builder and made it inject custom translations (see the javadoc comments, documentation, and implementation example for examples).
Install the mod using the jar on the Github Releases over on the right.
On the lack of Modrinth/Cf prescensce, for reasons I won't go into, it cannot be on those platforms. Elliot specifically said that this is okay and that the MavenCentral publication counts as a valid demo link.