Preloading Tricks Mod is a mod for mod developers that allows you to intervene very early in the mod loader process, providing early “hooks,” Java Instrumentation class transformation tools, and callbacks to extend the loader in an advanced way.

Features:

  • This mod allows you to register callbacks that run as soon as the loader begins preparing the environment. These hooks run before the mod is officially initialized, which is useful for tweaking loader behavior or preparing special data.
  • Examples of early callbacks provided:
    • onSetupLanguageAdapter
    • onSetupMods
    • Thanks to these hooks, the mod can change how the loader handles adapters or mod lists before the game continues to start.
  • It supports Class Transform at the Java Instrumentation level, meaning you can edit the bytecode of a class as soon as it’s loaded into the JVM. This works much earlier than with regular mixins.
  • The mod allows you to register transformers via configuration, for example:ClassTransformConfigthis allows programmers to edit the behavior of the mod loader and the class of another mod.
  • To enable class transformations, Preloading Tricks requires you to add an attribute to the mod manifest, for example:
    ClassTransformConfig: xxxx.classtransform.json
  • Where the xxxx.classtransform.json file contains the configuration describing the registered transformers. An example would be:{"package": "settingdust.preloading_tricks.neoforge.transformer","transformers": [
    "mod_setup_hook.FMLLoaderTransformer"]}

Screenshots:

Preloading Tricks Mod Download Links

Filter by

For Minecraft 26.1.2, 26.1.1, 26.1

Fabric, Forge, NeoForge 2 MB Apr 6, 2026

For Minecraft 1.21.11, 1.21.10, 1.21.9

Fabric, Forge, NeoForge 2 MB Apr 6, 2026

For Minecraft 1.20.2, 1.20.1, 1.20

Fabric, Forge, Quilt 31 KB Apr 6, 2026

For Minecraft 1.20.1, 1.20, 1.19.4

Fabric, Forge, Quilt 22 KB Apr 6, 2026

For Minecraft 1.20.1 –> 1.21.11

Forge, Fabric, NeoForge 1 MB Apr 6, 2026

Click to rate this post!
[Total: 0 Average: 0]