Back to mods
gudASM project artwork

CurseForge · Minecraft mod

gudASM

ASM hacks for all!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which gudASM release should I use?

Updated 6 years ago
beta file gudASM 0.0.6
Game version 1.16-Snapshot, 1.16.1, 1.16
Loader Fabric

gudASM 0.0.6 targets 1.16-Snapshot, 1.16.1, 1.16 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is gudASM required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does gudASM 0.0.6 need?

gudASM 0.0.6. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add gudASM without breaking your instance.

Built for gudASM 0.0.6. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use gudASM 0.0.6. It targets 1.16-Snapshot, 1.16.1, 1.16 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside gudASM 0.0.6. It opens that exact file at the source.

About this project

What does gudASM add?

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.

Project description from CurseForge.

Pick your setup

gudASM by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

gudASM versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.