You can use the Blue Bed at night so that the mobs won’t spawn around us. Bed allows the player to sleep through the night and skip to the next dawn, and they reset the player’s spawn point to within a few blocks of the bed.
To make a Blue Bed, you’d need Wood Log, Sheep Wool, Lapis Lazuli, Wood Planks and Blue Wool. Please follow the following steps to make a Blue Bed.
In order to make a Blue Bed, the basic item that you will need to get is a Log of wood. Find any kind of tree and use your iron axe to chop down a log of wood.
Now the next required item that you will have to get is wool, so find sheep and get at least three wool out of them. But don’t kill them, just use shears to get wool.
After that you will have to find lapis lazuli gemstone. You need to find and get at least three lapis lazuli stones.
And then you need to make wood planks from Oak wood block you have collected. Go to the crafting table and add wood block into 3*3 crafting grid to get wood planks in the right-side box of the crafting table. One wood block will convert into 4 wood planks. Bring these wood planks into inventory.
After that you need to craft blue wool by adding three wools and three lapis lazuli stones in adjacent cells of 3*3 crafting grid as shown in the image below. You will get three Blue wool in the right-side box of the crafting table. Add these wool into your inventory to use later.
Now use the Crafting table once more to craft a Blue bed. Add three wood planks in the lower row and three Blue wool in the upper row to get a Blue Bed in the right-side box of the crafting table. Add this bed into “ready to use” stock.