Oak fences are wall blocks and they can be used as a barrier to block the mobs.
To make Oak Fence, you will need Oak Wood Logs, Oak Wood Planks and Oak Wood Sticks. Please follow the following steps to make an Oak Fence.
Oak Wood Logs
In order to make an oak Fence, the basic item you will need is wood Log of oak tree. Find an oak tree and use your iron axe to chop down at least two pieces of wood logs and pick them up. You can find oak trees in the Forest Biome.
Oak Wood Planks
After that, you will need to use the crafting table to craft wood planks. Go towards the crafting table and open up 3*3 crafting grid to add wood blocks in the center or any cell of the grid. You will get eight wood planks from two wood logs in the right-side box of the crafting table. Add these wood planks into inventory.
Oak Wood Sticks
Now you need to craft sticks from oak wood planks using the crafting table. Add two wood planks in adjacent cells of any column, as shown in the image below to craft wooden sticks. Two oak wood planks will give you four sticks. Add them into the inventory to use later.
After that, add four oak wood planks and two oak wood sticks in 3*3 crafting grid in the same way as shown in the image below, to simply get one Oak Fence in the right-side box of the crafting table. Add Oak Fence into your “ready to use” stock.