Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
English
This is a special Minecraft mod that can retransform or redefine the game's codes by using custom class files either locally or over the internet.
How to use it?
(Re)Transform classes:
If you want to retransfrom game's codes, you need to add some class files to the "mp-classes" folder in the game directory. They will be loaded and retransfromed to the game.
If you think it is too rigmarole to retransfrom codes,you can just write one or more jsons into the "mp-classes",then write some url(s) such as "https://xxx/xxx.class" into json files,these urls will be read and loaded into the games for (re)transforming.
Export classes:
Certainly,if you don't know how to get these class files,you can use the export feature to export class files. You need to write some classes' the whole name,such as "net.minecraft.client.gui.Gui" and "net.minecraft.world.entity.player.Player" into the "<game_directory>/mp-exports/mp-export-config.json".
If you don't know where these classes are,you can press the F12 key down or open the Recaf app to enable the debug export feature to export classes what are preparing for transfroming classes into the "mp-exports" folder in the game directory.
How does it works?
First, it will load itself as a java agent when the mod loader is pre launching,then it will load custom classes from this mod's configuration folders.
Second, it will register a class file transfromer to (re)transfrom to the custom class you set or export source class files to this mod's export configuration folder.
Tips: This mod will NOT display in the mod list if you run this mod on the (neo)forge mod loader.
ē®ä½äøę
čæęÆäøäøŖē¹ę®ēćęēäøēć樔ē»ļ¼å®åÆä»„éčæä½æēØę¬å°ęē½ē»äøēčŖå®ä¹ē±»ęä»¶ę„éę°ē¼čÆęéę°å®ä¹ęøøęē代ē ć
å¦ä½ä½æēØå®ļ¼
ļ¼éę°ļ¼č½¬ę¢ ē±»ļ¼
å¦ęęØę³č¦éę°č½¬ę¢ęøøęē代ē ļ¼ęØéč¦å°äøäŗē±»ęä»¶ę·»å å°ęøøęē®å½äøēāmp-classesāę件夹äøćčæäŗęä»¶å°ä¼č¢«å 载并éę°č½¬ę¢äøŗęøøęå 容ć å¦ęęØč§å¾éę°č½¬ę¢ä»£ē ēčæēØčæäŗē¹ēļ¼ęØåÆä»„ē“ę„å°äøäøŖęå¤äøŖ JSON ęä»¶åå „āmp-classesāäøļ¼ē¶ååØ JSON ęä»¶äøę·»å äøäŗē±»ä¼¼äŗāhttps://xxx/xxx.classā čæę ·ē URLļ¼čæäŗ URL å°č¢«čÆ»åå¹¶å č½½å°ęøøęäøļ¼ä»„便čæč”ļ¼éę°ļ¼č½¬ę¢ć
åÆ¼åŗ ē±»ļ¼
å½ē¶ļ¼å¦ęęØäøē„éå¦ä½č·åčæäŗē±»ęä»¶ļ¼ęØåÆä»„使ēØā导åŗāåč½ę„导åŗē±»ęä»¶ćä½ éč¦ å°äøäŗē±»ēå®ę“åē§°ļ¼ä¾å¦ānet.minecraft.client.gui.Guiāåānet.minecraft.world.entity.player.Playerāļ¼åå „ā<ęøøęē®å½>/mp-exports/mp-export-config.jsonāęä»¶äøć å¦ęęØäøęø ę„čæäŗē±»ēä½ē½®ļ¼ęØåÆä»„ęäø F12 é®ļ¼ęč ęå¼ Recaf åŗēØēØåŗä»„åÆēØč°čÆåƼåŗåč½ļ¼ä»čå°åå¤č½¬ę¢äøŗē±»ēę件导åŗå°ęøøęē®å½äøēāmp-exportsāę件夹äøć
å®ęÆå¦ä½čæä½ēļ¼
é¦å ļ¼å½ęØ”ē»å č½½åØåÆåØę¶ļ¼å®ä¼ä»„ Java 代ēēå½¢å¼čŖåØå č½½ļ¼ē¶åå®ä¼ä»čÆ„ęØ”ē»ēé ē½®ę件夹äøå č½½čŖå®ä¹ē±»ć
å ¶ę¬”ļ¼å®ä¼ę³ØåäøäøŖē±»ę件转ę¢åØļ¼ēØäŗå°ļ¼éę°ļ¼č½¬ę¢äøŗęØę设å®ēčŖå®ä¹ē±»ļ¼ęč å°ęŗē±»ę件导åŗå°čÆ„ęØ”ē»ē导åŗé ē½®ę件夹äøć
ę示ļ¼å¦ęęØåØļ¼Neoļ¼Forge 樔ē»å č½½åØäøčæč”ę¤ęØ”ē»ļ¼é£ä¹čÆ„ęØ”ē»å°äøä¼åŗē°åØęØ”ē»å蔨äøć


