Making a custom crafting system with Villager UI.
I'm trying to make a custom crafting system, hopefully using villager trading for my items, since the list of items works very nicely. I've got a few main issues:
- Is it possible to change the 'Trades' text at the top of the list to something else, such as 'Recipes', or alternatively hide it completely.
- Can I force the villager UI onto the player when they click on a block, or would I have to somehow move an invisible villager in front of them to force them to click on it.
- Is there some other, better way to do custom crafting with custom items in 1.21 snapshots - I would be happy if I could just use a normal crafting, but there doesn't seem to be any support for custom items as ingredients, only custom items as results (i.e. can make a custom sword recipe from normal items, but not use a custom ingot item for the item).
Note: I'm on 24w19a/24w20a (most recent one seems unstable for me), and I'm a bit of a beginner, but I've got plenty of programming knowledge. Also, is there some central docs for datapack stuff, or do you have to hope the minecraft wiki pages have everything (or scrape snapshot changelogs)?