Now that I made this I realize its just a simpler version of storage drawers. Oh well, this fits better for a cozy feel anyway.
⚠️The crates won't be able to hold all item types only ones defined by the datapack, idea was the crates are only supposed to hold raw materials


The json format:
{
"values": [
{
"id": "farmersdelight:cabbage_crate",
"count": 9
}
],
"output": "farmersdelight:cabbage",
"fill_texture": "farmersdelight:block/cabbage_crate_top"
}
This means a cabbage_crate will deposit 9 cabbages into the crate, the crate will only hold cabbages so right click will retrieve cabbages. The 1:1 cabbage input is implicit so output, any output will deposit 1 when inputted. fill_texture is the texture to use for filling up the crate. These json files should be defined under data/[yourmod]/crates