Home›Java›Mods›gudASM
gudASM
ModsJava

gudASM

Java mod listed for Minecraft 1.16. Downloads from the MC Java Mods app on Android.

by gudenau · on CurseForge

⬇ Download on CurseForge

The author built this one for Minecraft 1.16–1.16.2 on Fabric. On other versions it may install and then do nothing.

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

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more