Fabric API

Fabric API

106M Downloads

Villagers and players appear rotated in beds when Fabric API is installed

joshuaprince opened this issue · 2 comments

commented

The sleeping pose incorrectly renders entities' rotation, causing them to show up incorrectly in beds. This happens with Fabric API and no other mods installed. Removing Fabric API fixes the issue.

MC 1.20.4, Fabric 0.15.2, FAPI 0.91.2+1.20.4:
2023-12-15_21 50 31
2023-12-15_21 59 46

MC 1.20.4, Fabric 0.15.2, no other mods:
2023-12-15_21 50 58
2023-12-15_22 00 22

Extra information:
MC 1.20.4
Fabric 0.15.2
Fabric API 0.91.2+1.20.4
OS: Arch Linux
Java: openjdk 17.0.9 (same happens on 21)

commented

Can confirm.

2023-12-16_11 48 06

The hitbox:

2023-12-16_11 55 41

latest.log


Edit:

Based on some quick testing based on GH Actions builds, it appears to be this 78d798a

And likely this mixin:

private void onGetSleepingDirection(CallbackInfoReturnable<Direction> info, @Local @Nullable BlockPos sleepingPos) {

(Probably the locals 🥲)

commented

Ah yes, getReturnValue before return. What could go wrong?