1
0
Fork 0

improve visuals

This commit is contained in:
Sen 2025-08-29 19:24:36 +02:00
parent c617be685b
commit 31bdece813
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
42 changed files with 190 additions and 281 deletions

View file

@ -489,10 +489,6 @@ public final class WorldServer extends AWorldServer {
BlockPos blockpos2 = this.getPrecipitationHeight(new BlockPos(cx + (k2 & 15), 0, cz + (k2 >> 8 & 15)));
BlockPos blockpos1 = blockpos2.down();
if(this.canBlockFreeze(blockpos1, true)) {
this.setState(blockpos1, Blocks.ice.getState());
}
if(this.snow && this.isRaining() && this.canSnowAt(blockpos2, true, SVars.snowStack)) {
State layer = SVars.snowStack ? this.getState(blockpos2) : null;
this.setState(blockpos2, SVars.snowStack && layer.getBlock() == Blocks.snow_layer