Recently, we have implemented the new snapshot to Minecraft, the 19w02a, which added the campfire.
Well it occurred to create a farm of mobs with this new block and this is the result:
The block is like a slab, as well as damage to the mob/player that is
over, the dropped items can pick them a hopper placed under the
Thanks for reading me
And sorry if my english is bad.