Mod
gudASM
No reviews yet
ASM hacks for all!
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
gudASM
The ~~worst~~ best thing to happen to Fabric modding.
TL;DR
It allows you to do direct bytecode manipulation and aims to make it "easy". You should only use this when mixins really can't do what you need.
What can this do?
Anything you want it to, since it allows you to edit classes at the most basic level.
Just be mindful of what classes you load and things should work fine.
Features
- Raw class transformations
- A large collection of helper methods
- @ForceBootstrap and @ForceInline for when you need ~~to break things~~ speed.
- Custom entry point
How to use
Create a class the implements AsmInitializer and put it in your mod config file as an entrypoint, something like:
JSON
{
...
"entrypoints": {
"gud_asm": [
"com.example.mod.ILikeBreakingThings"
]
},
...
}
Then implement the AsmInitializer.onInitializeAsm() method and do something like this:
```Java
package com.example.mod;
import net.gudenau.asm.api.v0.AsmInitializer; import net.gudenau.asm.api.v0.AsmRegistry;
public class ILikeBreakingThings implements AsmInitializer{ @Override public void onInitializeAsm(){ AsmRegistry.getInstance().registerTransformer(new AmazingTransformer()); } } ```
The rest should be pretty straight forward.
Also, please don't combine AsmInitializer with other initializers. That is just asking for crashes.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers