A recreation of the famous Tough as Nails mod as a Datapack. Run /function toughasnails:config to open a config screen, to toggle on/off drinking from normal water buckets, or the overlay for extreme temps.
Chainmail Armor is now Wool Armor (Craftable via any wool (Colored or not) in the same way as any other armor), Panda/Polar Bear/Turtle spawn eggs are now replaced by Purified Water Buckets, Purified Water Bottles, and Water Canteens. When grabbing these from the creative GUI, make sure to switch to Survival then back, to update the items to allow them to properly work.
Ice Cubes and Magma Shards can be obtained by using these commands, or by breaking the respective blocks in Survival: /loot spawn ~ ~ ~ loot minecraft:blocks/packed_ice, /loot spawn ~ ~ ~ loot minecraft:blocks/magma_block.
Please rely on the Tough as Nails Wiki for info on getting most of these items. Note that Rain Collection, and a few other items/blocks, are not included. This datapack only includes the basic thirst/temp. system and a few of the basic ways of controlling said systems.