Custom Libraries

Custom libraries:

Note: Libraries are mainly loaded via Class-Path

Example of using custom libraries:

Default libraries:

For example, Mohist has \libraries\org\ow2\asm\asm-debug-all\5.2\asm-debug-all-5.2.jar by default. What if we need to update this library to 7.0?

  • First, get asm-debug-all-7.0.jar
  • Change the file name to asm-debug-all-5.2.jar (because we need to keep it consistent with Class-Path)
  • Replace the old jar
  • Modify the configuration in mohist.yml
    • Find the default libraries_black_list: aaaaa;bbbbbb
    • Add asm-debug-all-5.2 to the list: libraries_black_list: asm-debug-all-5.2;bbbbbb
  • You've completed all the steps, you can now run Mohist

Custom libraries:

Add other jars as libraries

  • Put your jar file into \libraries\customize_libraries
  • You've completed all the steps, you can now run Mohist
© 2019-2026 MohistMCUnofficial Minecraft product. Not approved by or associated with Mojang or Microsoft.