Mineuniverse
Log in Register
Mods

Dye

Library to expose INVOKEDYNAMIC to mods.
by noeppi_noeppi
Download Claim this project
525 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

A library / modlauncher service that exposes the jvm INVOKEDYNAMIC opcode to modders. For more information on how to use it as a modder, see the GitHub.

Some more explanation on this:

The Java Virtual Machine (JVM) has an opcode called INVOKEDYNAMIC. Each individual occurrence of that opcode in bytecode is permanently bound to a CallSite object when executed the first time. This CallSite is obtained by calling a bootstrap method, which is implemented in plain java. This is for example used to implement lambdas in bytecode.

Dye provides a transform service to replace regular method calls to methods annotated with a special annotation with INVOKEDYNAMIC opcodes to a custom bootstrap method given by the annotation value.

This is a library mod and that obviously means, it does not affect the users experience in any way.

Dye-0.1.2.jar
MC 1.17.1, 1.19.3, 1.18.1, 1.17, 1.19.4, 1.18.2, 1.19.2, 1.20.1, Forge, 1.20, 1.19.1, 1.18, 1.19
Release 2021-10-15 Get

More from noeppi_noeppi

LibX
77,974,841
Bongo
658,776
Villager's October
60,143
MineMention
51,967
Torment
51,418
NextChristmas
5,085

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314