Exactly as title reads. I don't know much about Java, and unless somebody spent their time to provide me with all the necessary code, I doubt I could accomplish this.
But I do have an understanding of programming, so if somebody could kindly provide me a GitHub repo to a mod that sends Client to Server packets with source code available, I would greatly appreciate it.
As I could easily learn myself if I was provided with a complete code example, but I cannot find much anywhere online.
I would appreciate it if you could help!
#Source code of a mod that sends C2S packets? (1.20.6)
3 messages · Page 1 of 1 (latest)
Here is the mod I maintain for myself, it does not have a 1.20.6 version but it should be near identical: https://github.com/Scillman/mc-scillman-beeinfo
I advise you look into these files specifically:
https://github.com/Scillman/mc-scillman-beeinfo/blob/fabric-1.21.0/src/main/java/com/github/scillman/minecraft/beeinfo/BeeInfoServer.java
https://github.com/Scillman/mc-scillman-beeinfo/tree/fabric-1.21.0/src/main/java/com/github/scillman/minecraft/beeinfo/network
https://github.com/Scillman/mc-scillman-beeinfo/blob/7870f5239cb11e47c31b49b2c0d73393ccd88b1c/src/client/java/com/github/scillman/minecraft/beeinfo/mixin/client/LookAtMixin.java#L130
It might be a while before I can use my computer, but I'm sure this will be a great help. Thank you.