←back to thread

331 points alex_medvedev | 1 comments | | HN request time: 0.001s | source
Show context
WhereIsTheTruth ◴[] No.41849863[source]
i wish minecraft was open source, i'd be able to fix their inefficient protocol
replies(2): >>41850000 #>>41854379 #
WhereIsTheTruth ◴[] No.41850000[source]
Downvoter, go check this: https://wiki.vg/Protocol, let me know if that's a good way to sync a lot of fast moving entities across a TCP network

This is why people struggle with their servers, not because the game was written in java

replies(3): >>41850743 #>>41853929 #>>41854093 #
giancarlostoro ◴[] No.41850743[source]
Curious what protocol you would use, or how you would do it differently? Are there small enhancements to the existing protocol you would do? Genuine open question for the sake of learning.
replies(1): >>41850822 #
1. alex_medvedev ◴[] No.41850822[source]
I would prefer the UDP Protocol over TCP like in Bedrock edition. Im pretty sure many PVP players would love this. Here is much non sense in the Minecraft protocol and things made to work not to be optimized (deadlines). At our discord we even already have a sticker :mojang_nonsense: which will be used quiet often. I also don't understand Mojang's tactic with packet changes, It sometimes looks like they care about Packets not being broken and being backwards compatible but them sometimes they change the whole Networking system (1.20)