Improved cloak physics 1.21.10

This commit is contained in:
2026-04-10 04:02:08 +02:00
parent 6466d8d8fd
commit 4a7eade70d
2 changed files with 227 additions and 165 deletions
@@ -417,6 +417,7 @@ public class CloakFeatureRenderer extends FeatureRenderer<PlayerEntityRenderStat
int blockLight = (light >> 4) & 0xF;
int skyLight = (light >> 20) & 0xF;
blockLight = Math.max(blockLight, minBrightness);
skyLight = Math.max(skyLight, minBrightness);
light = (skyLight << 20) | (blockLight << 4);