TheDeathlyCow / frostiful

A Vanilla+ Snow & Frost Update Survival Experience for Minecraft
GNU Lesser General Public License v3.0
16 stars 8 forks source link

[Bug] Leather pants give immunity to freezing #31

Closed grundyboy34 closed 1 year ago

grundyboy34 commented 1 year ago

If I wear any leather armor piece, I can even stand in powder snow and my health bar always stays normal. If I take them off, I rapidly start to freeze until I put them back on and start warming back up. Even fur doesn't completely prevent frost build up, so not sure why leather does.

grundyboy34 commented 1 year ago

So I was able to replicate this in singleplayer by going to the same biome. At night however, it doesn't work, so it seems this is caused by the vanilla mechanics of leather normally giving immunity to freezing. The mod probably needs to be updated to increase the player's freezing rate if they're wearing leather or something to cancel this out.

grundyboy34 commented 1 year ago

Turns out, this is a much easier fix than I thought, and can be done via datapack. Simply overwrite minecraft/tags/items/freeze_immune_wearables.json Mine looks like this and works great: { "replace": true, "values": [ "minecraft:leather_horse_armor" ] }