This is an library mod that requires players to customize content.
It allows players to use simple JSON syntax to change or overwrite hard coded text in other mods that helping translators with translation.
And you don't need to worry about run time or performance loss. This mod uses ASM for efficient class replacement, and caching only be updated the replaced classes after the target mod is updated, so its impact on modern computers is not significant.
Version 1.4.2+, supports bytecode modification of mod code.
For writing file configurations and specific operating principles, please refer to Wiki.
If you encounter difficulties in writing configurations, please join our Discord or QQ(227323572).
Github: VaultPatcher
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
|
R
1.4.4+3
|
21h ago | 1 | |||
|
R
1.4.4+1
|
21h ago | 1 | |||
|
R
1.4.2+2
|
21h ago | 1 | |||
|
R
1.4.2+1
|
21h ago | 1 | |||
|
R
1.4.1+3
|
21h ago | 1 | |||
|
R
1.4.1+2
|
21h ago | 1 | |||
|
R
1.4.0+1
|
21h ago | 1 | |||
|
R
1.3.7
|
21h ago | 1 | |||
|
R
1.3.6
|
21h ago | 1 | |||
|
R
1.3.5
|
21h ago | 1 | |||
|
R
1.3.4
|
21h ago | 1 | |||
|
R
1.3.3
|
21h ago | 1 | |||
|
R
1.3.2
|
21h ago | 1 | |||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 | ||||
| 21h ago | 1 |
- Big updates!**
- Fixed the crash caused by commonSuperClass(), replaced ClassWriter() with a custom SafeClassWriter with override of commonSuperClass() method.
- Added AnnotationHandler, now VP can also catch and replace annotation in class files now!
- Added 1.21.9+ Neoforge support.**
- Expand Dynamic Replace to 1.21.11(the last version before deobfuscation of Minecraft).
- Added load_all_modules switch in config that will load all .json in modules folder and ignore the modules list in config.
Contributor: **[M3MEMonster](https://github.com/M3MEMonster)**
Tweaker(LaunchWrapper) to supports 1.6-1.12.2Supports both Fabric and Forge IN A JAR, and adds Dynamic Mode (not applicable under Forge 1.17)
- Include Manningham Mills (Fabric-ASM) as a dependency**
Add:
[+] Support Fabric (1.14+) and Forge (1.13.2+)
[+] Add an array of pairs in a patch.json, similar to the original key-value pairs, but presented as an array, such as
"pairs": [{"key": "xxx", "value": "yyy"}][+] In
target_class, local is added to the class to modify the return value or local variable of the method called in the specified method. The method name is added to M, and the variable name is added to V, for example: "MthisIsAMethod"Change:
[*] Changed the working mode of Transformer so that it does not
apply_mods Improving efficiency in the case of mods or classes[*] Fixed
apply_mods The issue of mods not being applied[*] Fixed a bug where when debugging is enabled, replacing without outputting "Trying Replace" without outputting the corresponding content
[*] Move java version to Java8 (test version 1.17, theoretical version 1.14-1.20.1+)
[*] Modified some internal names and code logic
添加:
[+] 支持Fabric 1.17+
[+] 在一个patch.json中增加数组pairs,pairs类似于原先的键值对,但是是以数组形式呈现,例如"pairs": [{"key":"xxx", "value":"yyy"}]
[+] 在target_class中增加字符串local,用于修改指定该方法中调用的方法的返回值或局部变量,M开头+方法名,V开头加变量名,例如"MthisIsAMethod"
更改:
[*] 更改了Transformer的工作方式,使得在其没有apply_mods或classes的情况下提升效率
[*] 修复了apply_mods无法应用的问题
[*] 修复了开启debug时,进行替换却只不输出"Trying Replace"而不还输出对应内容的BUG
[*] mod版本下放到java8(测试版本1.17,理论版本1.14-1.20.1+)
[*] 同时修改了一些内部名称&代码逻辑
[+] Support Fabric (1.14+) and Forge (1.13.2+)
[+] Add an array of pairs in a patch.json, similar to the original key-value pairs, but presented as an array, such as
"pairs": [{"key": "xxx", "value": "yyy"}][+] In
target_class, local is added to the class to modify the return value or local variable of the method called in the specified method. The method name is added to M, and the variable name is added to V, for example: "MthisIsAMethod"Change:
[*] Changed the working mode of Transformer so that it does not
apply_mods Improving efficiency in the case of mods or classes[*] Fixed
apply_mods The issue of mods not being applied[*] Fixed a bug where when debugging is enabled, replacing without outputting "Trying Replace" without outputting the corresponding content
[*] Move java version to Java8 (test version 1.14.4, theoretical version 1.13.2-1.20.1+)
[*] Modified some internal names and code logic
添加:
[+] 支持Fabric 1.17+
[+] 在一个patch.json中增加数组pairs,pairs类似于原先的键值对,但是是以数组形式呈现,例如"pairs": [{"key":"xxx", "value":"yyy"}]
[+] 在target_class中增加字符串local,用于修改指定该方法中调用的方法的返回值或局部变量,M开头+方法名,V开头加变量名,例如"MthisIsAMethod"
更改:
[*] 更改了Transformer的工作方式,使得在其没有apply_mods或classes的情况下提升效率
[*] 修复了apply_mods无法应用的问题
[*] 修复了开启debug时,进行替换却只不输出"Trying Replace"而不还输出对应内容的BUG
[*] mod版本下放到java8(测试版本1.14.4,理论版本1.13.2-1.20.1+)
[*] 同时修改了一些内部名称&代码逻辑
[\*] Fixed class matching errors in some 10 versions
[\*] Use a new "target_class" configuration item "method" has replaced "mapping" (see for readme.md)
[\*] Shortened the parameter of "ThePatch#patch" method of FontMixin
[\*] Modified the injection method of TextComponentMixin
[\*] Improved the ''\<stack\>" placeholder in logs, now formatted as "class name # method name"
PS:
Vaultpatcher forge 1.2.10+1.18.2 support 1.18.2+
1.16.5 will only be updated in major versions and will not synchronize with minor versions. (1.3.0)
[\*]Optimized replacement algorithm (See for readme.md)
[+]New configuration item 'optimize_params' (See for readme.md)
[\*]Synchronized Output Format in Debug Mode to readm.md
[\*]Improved the Export command
[+]Add the Alias "/vp" of the Directive "/vaultpatcher"
[\*]Optimized stack search
[+]Add Support for 'append' Method in BaseComponent(TextComponent in 1.16.5)
[+]Add DebugMode(More See for readme.md)
[\*]Modify the config file to be modular(See for readme.md)
[+]Reload resourcepack with command /vaultpatcher reload (WIP)
[+]Add zh_tw.json(Contributor:wulianzu)
[+]Add Package Match with Target Class(See for readme.md)
[+]Add Semi-Match with Key(See for readme.md)
Add localized language files
Increase priority of mod
Support 1.16.5