Recaf icon indicating copy to clipboard operation
Recaf copied to clipboard

Minecraft Development Plugin - Recaf Edition

Open Amejonah1200 opened this issue 1 year ago • 3 comments

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 #666 for Forge, Fabric, MC, Paper, Spigot, etc.

Amejonah1200 avatar Aug 28 '23 22:08 Amejonah1200

Didnt Filip already do almost this in his Recaf4Forge?

pvpb0t avatar Aug 29 '23 15:08 pvpb0t

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

1fxe avatar Aug 29 '23 16:08 1fxe

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.

HoratioGamer avatar Apr 15 '24 21:04 HoratioGamer