A litematica schematic for ilmango's melon and pumpkin farm. This is working in 1.17.1!
I have added glass around the farm to prevent melon slices and pumpkins from flying out and not getting picked up by the hopper minecart. I have also added stone brick slabs on top to prevent the noise from the note blocks and prevent mob spawning. The shroom light is an optional light block, but you will need a light source to allow for crop growth.
I have also changed out the endless connected hoppers for a hopper minecart system which will save crafting an extra 80 hoppers (400 iron saved!)
The lever next to the redstone torch will turn the collection off.
Material list and items required for building:
144 Stone (any solid block will do)
108 White Stained Glass (optional to enclose the items)
81 Stone Brick Slab (any slab will do)
40 Note Block
20 Melon Seeds
20 Pumpkin Seeds
11 Powered Rail
1 Redstone Comparator
1 Redstone Repeater
1 Redstone Torch
1 Shroomlight (can be changed to Glowstone or Sea Lantern)
1 Stone Brick Stairs
1 Water Bucket
1 Hoe (any type)
Raw materials for survival:
Total redstone required: 168
Total iron required: 94
Total quartz required: 41
Total gold required: 6