RFC - Implementing alloying recipes in json #353
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#353
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello folks. I'm very excited that EnderIO is coming back. I personally had been working on an EnderIO re-write (though I wasn't very far). However, I discovered this project and I want to help contribute here instead. :)
I found #54 , and I thought that would be a nice starting point. However, in looking at the current recipe implementation, recipes are registered in an event hook.
This works fine. But I'm wondering if you all would be interested in instead defining them as json in
datainstead. This would allow modpack developers to more easily change recipes to better fit their pack.Is your feature request related to a problem? Please describe.
As described above, the recipes are described in code, rather than as data. This makes it harder for non-coders to modify / tweak recipes. Both for people wanting to help with the project, as well as modpack creators.
Describe the solution you'd like
Alloying recipes are defined as json, similar to other recipes in Minecraft.
I did this in EnderIO-Reforged, and it should be fairly straightforward to implement here as well.
Example recipe
Recipe registration
Describe alternatives you've considered
An alternative is to keep it as is :)
Howdy! Thanks for coming along and wanting to contribute over here, and nice work so far on your own rewrite!
We do actually have JSON recipes :) The event hook you've found is actually where we register the data generator which will create all of our builtin JSON recipes. You can still use a JSON file to add custom recipes with datapacks.
Thanks a lot for coming along and having a look though!
Interesting... I'm curious. What is the motivation for generating the json from code instead of just having it in json to begin with? (I'm still fairly new in Minecraft mod creation)