Preloading Tricks Mod Wiki

Preloading Tricks Mod Wiki & Guide
wiki.9minecraft.net/preloading-tricks-mod/
Optimizes world loading and chunk preloading performance.
Guides
Step-by-step, in-game.
Intervene in Mod Loader Setup Before InitializationUnderstand the Preloading Phase Preloading Tricks lets you hook into the mod loader's setup process before it…Modify Another Mod's Classes at Load TimeIdentify the Target Class Determine which class from another mod you need to transform. You'll need its fully…Set Up Class Transformers for Your ModCreate the Transformer Configuration File Class transformers allow you to modify bytecode of classes before they load…Use Early Loader Hooks in Your Mod CodeUnderstand Available Hooks Preloading Tricks provides early callbacks that execute before mod initialization…
Frequently asked questions
What is this mod actually for?
Preloading Tricks Mod is designed for mod developers, not regular players. It lets you hook into the mod loader before mods officially initialize and transform Java classes at the bytecode level—much earlier than mixins can reach. If you're not writing a mod that needs to modify loader behavior or another mod's classes during startup, you don't need this mod.
How do I set up class transformers for my mod?
Add a `ClassTransformConfig` attribute to your mod's manifest pointing to a JSON file (e.g., `classtransform.json`). In that JSON, specify the package and list the transformer classes you want to register. See the guide 'Set Up Class Transformers for Your Mod' for the exact format and working examples.
What early hooks are available?
The mod provides hooks like `onSetupLanguageAdapter` and `onSetupMods` that fire before the mod loader officially initializes. These let you intercept and modify how adapters are set up or how the mod list is processed. Check 'Use Early Loader Hooks in Your Mod Code' for the full list and how to register them.
Can I modify another mod's classes with this?
Yes—that's one of the main uses. By registering class transformers, you can edit the bytecode of any class (including from other mods) as soon as it loads into the JVM. See 'Modify Another Mod's Classes at Load Time' for setup instructions and examples.
See all 10 Preloading Tricks questions ›
You May Also Like
Wikis that share the most with this one
Wikis on the same theme: world
More mod wikis on the site
The most downloaded mods that have a wiki here
A few wikis from each of the other kinds
Jamd
Exp Ore
Bad Mobs
Traverse
BetterEnd
Seals Mod
Camera Mod
Gobber Mod
Litematica
Padoru Mod
Raised Mod
Schematica
Shrink Mod
Dense Trees
Prehistoric Fauna
Preferred Gamerules Mod
Prefab Mod
Practical Logistics Mod
AppleSkin
JourneyMap Mod
Placebo
Waystones
Nature's Compass Mod
Enchantment Descriptions Mod
Patchouli Mod
Jade Mod
Quark Mod
Balm Mod
3D Crops 9minecraft Resource Pack