Minecraft spiders?

te
3

Hi

I wanted to ask which blocks spiders can't climb up because I want to build an XP farm and they climb up permanently or can they climb up all the blocks. Play on the Ps4 if that makes a difference to Pc.

Ti

But there's nothing that could help

an

You can climb up any of the blocks.

Exceptions are:

Blocks without a hitbox (sugar cane, wheat, flowers,.)
lava
water

Maybe you could make the walls out of cactus and they'll die if they climb on them. ^^