True Craft

A free and open-source implementation of Minecraft Beta 1.7.3

Improvements to physics engine

Published Jul 05, 2016

Today I hopped back into TrueCraft dev for a little while to deal with some issues concerning the physics engine. There were some cases where you could walk into corners and end up not triggering a collision, which would lead to the player being flung high up into the air once they were detected to be inside of a block on the next tick.

Another issue I resolved was the problem of placing blocks where entities already exist. I just did some tweaks to the existing code that did not work to make it do the correct thing (i.e. prevent you from placing a block that would collide with an entity that's already there).

I have some issues to figure out with entity collisions in practice on the server, where they still behave very strangely. The physics improvements I put in place today seem to help with player movement but items and other entities are still FUBAR.