alcatrazEscapee / primal-winter

A mod which makes the entire world feel like a primordial winter.
https://www.curseforge.com/minecraft/mc-mods/primal-winter
MIT License
9 stars 11 forks source link

Fog disappears when standing on a snow block with layers=8 #14

Closed fishcute closed 4 years ago

fishcute commented 4 years ago

If you stack up snow layers to make it a full block and stand on it, the fog disappears suddenly.

What I mean by a full block: (The one in the center) 2020-10-17_05 04 39

When standing on a full block of snow 2020-10-17_04 57 49 When standing not on a full block of snow 2020-10-17_04 58 05

EDIT: Mod version: 1.1.1 Forge

RandomMcSomethin commented 4 years ago

Can confirm this happens in the 1.16.3 build, too.

alcatrazEscapee commented 4 years ago

How odd. At a wild guess, I'd assume there's something with how snow layers actually have a smaller hitbox than what is rendered (similar to soul sand in 1.16). Otherwise I'm not sure why it would be happening specifically with snow[layers=8]

fishcute commented 4 years ago

I can try to do some testing and see if it happens on blocks similar to the hitbox that the layer 8 snow block has, not unless you already tested that

alcatrazEscapee commented 4 years ago

Alright, so I've identified the problem:

Luckily, I should be able to fix this by checking the light level at the player's eye height, not the feet position.

fishcute commented 4 years ago

It works, nice!