cuberite / cuberite

A lightweight, fast and extensible game server for Minecraft

Home Page:https://cuberite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fall damage miscalculation

AirOne01 opened this issue · comments

Client version: 1.12.2
Server OS: Windows 11 Home (v.21H2 build 22000.258)
Cuberite Commit id: d49ce75

Expected behavior

  • No fall damage is taken when jumping on cobwebs
  • Entities that are spawned in mid-air take damage from their fall
  • Beds reduce fall damage

Actual behavior

  • Player sometimes receive damage upon falling in cobwebs
  • Sometimes upon landing in cobwebs no damage will be taken, which is expected, but further fall damage will be ignored. (tested teleportation and "natural" fall). It was observed being cancelled after getting attacked by another entity.
  • Entities that are spawned in mid-air don't take damage from their fall
  • Landing on a bed will make you bounce, but won't reduce fall damage.

Steps to reproduce the behavior

  • Player fall on cobwebs and a bed
    • Either build a tower and climb back on it every time or teleport to a greater y. Same behavior expected.
  • Entity is spawned in mid-air and falls to ground
    • Either use a spawn egg on the side of a block or use the /summon command. Same behavior expected.

Server log

Nothing special indicated by the server log