Minecraft wiki entry for Clay_farming, associated text: In Java Edition only, you can farm clay by obtaining the Hero of the Village effect and stone masons giving it to you as a gift, but that is extremely hard to do and they only give you a few blocks per effect anyway, so it is infeasible to farm it in this way.