Crafting a fridge in Minecraft is not possible within the vanilla game. However, with the use of mods such as the Immersive Engineering mod, players can craft a functional fridge that can store and preserve food items.
The Immersive Engineering mod adds a variety of new machines and items to Minecraft, including the Fridge. The Fridge is a large, multi-block structure that can be used to store food items and prevent them from spoiling. The Fridge requires a constant supply of power to operate, and it can store up to 27 stacks of food items.