To breed pandas in Minecraft, you will first need to make sure there are around eight bamboo blocks within a radius of five blocks or less of the pandas.
If you don't do this, the pandas will just eat the bamboo or attack you if there is another panda nearby.
That said, after bamboo in a five blocks radius condition is met, you will be able to breed them by feeding two pandas with bamboo, just like with any other animal in the game.
Once fed, the pandas will spawn a smaller baby panda nearby which will eventually grow into a full-grown panda.
The adult panda will also change from being natural towards the player to passive and will not attack them anymore.
However, if you are still trying to find pandas, you can find them usually in bamboo jungles or normal jungles, and if you want to lure them back, just use some bamboo!
We also recommend doing this prior to trying to breed them and setting up a small pen with some bamboo nearby to make your life easier when trying to breed them.
But if you don't have any bamboo on hand to lure them back, just look around in the jungle biome, and you should find some naturally.
For more on Minecraft, check out When Do Minecraft Caves and Cliffs Part 1 and 2 Release? and When is Minecon 2021/2022? Date, Details, & Everything You Need to Know About Minecraft Festival