Minecraft automatic coal farm?

av
1

How can you make an automatic coal farm? Coal should come and no charcoal. I know it works but I don't know how to do it

an

Build an automatic witherskeleton farm.

e.g. So: