CurseForge · Minecraft mod
Dye
Library to expose INVOKEDYNAMIC to mods.
Quick answer
Which Dye release matches 1.18?
Dye-0.1.2.jar targets 1.17.1, 1.19.3, 1.18.1 with Forge. 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 Dye required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Dye-0.1.2.jar need?
Dye-0.1.2.jar on 1.18. 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.jar on 1.18. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use Dye-0.1.2.jar. It targets 1.17.1, 1.19.3, 1.18.1 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
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside Dye-0.1.2.jar. 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.
This is a library mod and that obviously means, it does not affect the users experience in any way.
Project description from CurseForge.
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
Dye-0.1.2.jar
15 Oct 2021
Looking for an older file? The official CurseForge project page is in Resources.