Fix jar fluid colors

This commit is contained in:
Sollace 2024-10-08 14:05:35 +01:00
parent 3b1fab888f
commit f1a6e7ce11
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -150,7 +150,7 @@ public class ItemJarBlockEntityRenderer implements BlockEntityRenderer<ItemJarBl
topSprite.getMaxU(), topSprite.getMaxV(), topSprite.getMaxU(), topSprite.getMaxV(),
0.28F, 0.01F, 0.28F, 0.28F, 0.01F, 0.28F,
0.73F, 0.01F + height, 0.73F, 0.73F, 0.01F + height, 0.73F,
color, color | 0xFF000000,
light, overlay, Direction.UP light, overlay, Direction.UP
); );
Sprite sideSprite = sprite[sprite.length - 1]; Sprite sideSprite = sprite[sprite.length - 1];
@ -161,7 +161,7 @@ public class ItemJarBlockEntityRenderer implements BlockEntityRenderer<ItemJarBl
sideSprite.getMaxU(), sideSprite.getMaxV(), sideSprite.getMaxU(), sideSprite.getMaxV(),
0.28F, 0.01F, 0.28F, 0.28F, 0.01F, 0.28F,
0.73F, 0.01F + height, 0.73F, 0.73F, 0.01F + height, 0.73F,
color, color | 0xFF000000,
light, overlay, GLASS_SIDES light, overlay, GLASS_SIDES
); );
matrices.pop(); matrices.pop();