Implement entity physics: gravity and collisions with blocks.
The basic algorithm for Minecraft entity physics is, each tick, to:
Add velocity to position.
For each axis (X/Y/Z) individually, check for collisions between the entity's bounding box and blocks. If there are any, clamp the entity's position to the edge of the block. There are some useful details on collision detection [here
MotorMC is a blazing fast, multi threaded, asynchronous Minecraft server software that aims to handle many players (1000+) on a single world while still providing an experience as close to vanilla Minecraft as possible.
Quick start your Minecraft server with mine! Featuring one command install capabilities and other spiffy features, this is the go to wrapper for Minecraft
An easy to use TUI for installing, managing, and running Minecraft servers. Works on any Unix-like operating system (Linux, MacOS, etc..) Perfect for a RaspberryPi!
Implement entity physics: gravity and collisions with blocks.
The basic algorithm for Minecraft entity physics is, each tick, to: