Philipp

Results 9 comments of Philipp

I have written down how I use serverpacklocator on Windows here: https://gist.github.com/Bricktricker/f24b109cff73d308a5b047968fcdb457 Maybe you can use it as a starting point. It's propably not the best way, but it works...

I couldn't find an alternative yesterday, but it looks like there is a [RegisterEvent](https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/main/java/net/minecraftforge/registries/RegisterEvent.java) that can be used plus adding `@ObjectHolder` to every field. Should I use this?

Removed the DeferredRegister. I kept the diffrent registration methods (`registerEffects`, `registerBlocks`, ...) separate, but I can merge them into one method if you want to.

Merged all registration methods into one and removed the the injected hack. The fields are now set in the registration method.

I commented out your mods.toml injection code in the build.gradle file, because it never worked for me. I just updated the values manually. Maybe thats the problem?

I just ran `gradlew genEclipseRuns --refresh-dependencies` and it worked perfectly fine. I used this build.gradle file: https://gist.github.com/Bricktricker/b881f1531bdc8c8f5cd5f163986e2823

No, I haven't changed anything else.

Your log shows the server generates a new privates key, this should only happen on the first launch. You need to re-sign the client csr when the private key changes....

Check your client debug.log, it shoud contain the same lines, but should load 2 certificates. You should also check your certificates/config files: Validate that your `serverpacklocator.toml` files have the coorect...