The Wayback Machine - https://web.archive.org/web/20220131193513/https://github.com/topics/minecraft-server
Skip to content
#

minecraft-server

Here are 1,326 public repositories matching this topic...

voidpls
voidpls commented Jan 10, 2022

Is your feature request related to a problem?

Currently, the ticking-distance that timings receives on 1.18 servers is the view-distance, rather than the new simulation-distance.

Patch in question:
https://github.com/PaperMC/Paper/blob/master/patches/server/0010-Timings-v2.patch

+        parent.put("worlds", toObjectMapper(MinecraftServer.getServer().getAllLevels(), world -> {
+
caelunshun
caelunshun commented Mar 2, 2021

Implement entity physics: gravity and collisions with blocks.

The basic algorithm for Minecraft entity physics is, each tick, to:

  1. Add velocity to position.
  2. 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

Improve this page

Add a description, image, and links to the minecraft-server topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the minecraft-server topic, visit your repo's landing page and select "manage topics."

Learn more