Minimap liquid shadow

This commit is contained in:
Anuken
2022-01-29 15:40:19 -05:00
parent fdfc43ce72
commit 44677d3697
2 changed files with 2 additions and 2 deletions

View File

@@ -226,6 +226,8 @@ public class MinimapRenderer{
if(tile.block() == Blocks.air && tile.y < world.height() - 1 && world.tile(tile.x, tile.y + 1).block().solid){
color.mul(0.7f);
}else if(tile.floor().isLiquid && (tile.y >= world.height() - 1 || !world.tile(tile.x, tile.y + 1).floor().isLiquid)){
color.mul(0.84f, 0.84f, 0.9f, 1f);
}
return color.rgba();