Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minecraft Development Plugin - Recaf Edition #667

Open
Amejonah1200 opened this issue Aug 28, 2023 · 3 comments
Open

Minecraft Development Plugin - Recaf Edition #667

Amejonah1200 opened this issue Aug 28, 2023 · 3 comments

Comments

@Amejonah1200
Copy link

Amejonah1200 commented Aug 28, 2023

Because of popular demand and usage of Recaf, it would be advised to create as specific plugin handling those features:

  • Ability to download MC mappings (MCP, Yarn, Loom, etc.).
  • Presets of resolution of dependencies using Maven Artifact Resolver #666 for Forge, Fabric, MC, Paper, Spigot, etc.
@pvpb0t
Copy link

pvpb0t commented Aug 29, 2023

Didnt Filip already do almost this in his Recaf4Forge?

@1fxe
Copy link
Contributor

1fxe commented Aug 29, 2023

Didnt Filip already do almost this in his Recaf4Forge?

It only applies Forge Mappings (at this time not ability to unmap it) and ability to export to Forge MDK. However I do think it would be useful to have a full Minecraft4Recaf with Forge, Fabric, MC, Paper Mapping System and abilities to export to their respective workspace

@HoratioGamer
Copy link

This would be very useful. What might be a first step is, if Recaf could say give examples in the documentation of how to load the yarn/mappings:

https://github.com/FabricMC/yarn/tree/1.20.5-pre2/mappings

that would be really helpful. What type of mappings are the yarn mappings? Simple? Enigma? Proguard? SRG, TSRG? Tiny? Tiny V2? JADX? Yarn does not say, or does not use the same terminology as Recaf.

If Recaf already has the ability to read yarn/mappings then if it were simply explained in a page of documentation, that would be a large part of the problem solved.

If Recaf does not yet have the ability to read yarn/mappings,

a) if there are simple work-arounds, like, concatenate all the files from the yarn/mappings tree into a single text file, and load that using the mappings tab of Recaf, with the Simple/Enigma..../JADX setting that is needed then that would be useful to explain in docs.

b) if there is a simple utility to convert yarn/mappings to a format Recaf can use, then it would be really useful if the docs could provide links and explanations on how to do that.

c) If there were documentation about the mappings tab of Recaf, explaining the format, and giving examples for each type of mapping then someone reasonably skilled in Perl or TCL could write a utility to read yarn/mappings and write them out in a format that Recaf can read.

In summary, this might be just a documentation problem, or maybe documentation could go a long way, with available utilities, or ones we can write, to helping us solve the problem of using Recaf for Minecraft Mod Programming.

Thank you for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants