https://github.com/minecraftforge/srg2source
Applies source level refactors to java source code.
https://github.com/minecraftforge/srg2source
Last synced: 9 months ago
JSON representation
Applies source level refactors to java source code.
- Host: GitHub
- URL: https://github.com/minecraftforge/srg2source
- Owner: MinecraftForge
- License: lgpl-2.1
- Created: 2012-12-08T08:17:54.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2025-02-27T02:59:05.000Z (10 months ago)
- Last Synced: 2025-03-30T08:11:47.872Z (9 months ago)
- Language: Java
- Homepage:
- Size: 3.91 MB
- Stars: 59
- Watchers: 22
- Forks: 32
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Srg2Source v4.1
A tool for renaming symbols (classes, methods, fields, parameters, and variables) in Java source code using .srg mappings.
For porting, Minecraft, CraftBukkit, mods, plugins, etc.
## Usage
java -jar Srg2Source-fatjar.jar --extract [SourceDir] [LibrariesDir] [RangeMapOutput]
java -jar Srg2Source-fatjar.jar --apply --srcRoot [SourceDir] --srcRangeMap [RangeMap] --srgFiles [SRGFile] --excFiles [ExcFile] --outDir [Output]
## See also
Inspired by the Frans-Willem's binary remapper ApplySrg, originally from https://github.com/Frans-Willem/SrgTools (updated version at https://github.com/agaricusb/SrgTools)
More remapping tools and generated .srgs: https://github.com/agaricusb/MinecraftRemapping