4 ms·
Independent client (ie, not a patch on top of the Mojang client) with working physics is actually a sort of holy grail in the third party minecraft development
by nickelpro 3y ago
Independent client (ie, not a patch on top of the Mojang client) with working physics is actually a sort of holy grail in the third party minecraft development community.
Very few implementations ever reach that level of maturity. Everyone and their mom gets the networking/keepalive/inventory stuff working. Mature clients maybe get gravity and basic movement working. A single digit number of implementations have gone farther than that.
Physics is the least documented corner of Minecraft. Effectively everything about lighting, entities, the map format, and the network protocol is well documented without having to dig through the decompiled source.
Not so with physics. No two physics implementations look alike because:
A) The Java Minecraft physics engine is a pretty tangled mess to begin with
B) Each implementation represents a unique attempt to research and re-implement that mess
- Kiuhrly1 3y agoWhat's interesting is that the Minecraft netcode is so bad that your client physics doesn't even need to be accurate or even correct for it to work. There is no verification that the client's inputs actually match the player's resulting position (not that they're even sent to the server). The client sends their position to the server, the server does some simple checks for flying, speed hacks, phasing through walls, and that's about it. Which is why there's all sorts of interesting movement cheats, and also why most servers run some kind of third-party anticheat plugin.