
Modrinth · Minecraft mod
Dye
Library to expose INVOKEDYNAMIC to mods.
Quick answer
Which Dye release matches 1.19?
Dye 0.1.2 targets 1.17, 1.17.1, 1.18 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Dye required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Dye 0.1.2 need?
0.1.2 on 1.19. Every mod below is checked against that same setup.
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 Dye without breaking your instance.
Built for Dye 0.1.2 on 1.19. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.1.2. It targets 1.17, 1.17.1, 1.18 with Forge; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.1.2. It opens that exact file at the source.
About this project
What does Dye add?
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.
Project description from Modrinth.
Pick your setup
Dye by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20
1 loader build1.19.4
1 loader build1.19.3
1 loader build1.19.2
1 loader build1.19.1
1 loader build1.19
1 loader build1.18.2
1 loader build1.18.1
1 loader build1.18
1 loader build1.17.1
1 loader build1.17
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Dye versions and loaders
0.1.2
Dye-0.1.2.jar
22 Aug 2022
Looking for an older file? The official Modrinth project page is in Resources.