Мова

Dye

Dye

Modrinth

Library to expose INVOKEDYNAMIC to mods.

331 завантажень 1 підписників оновлено 46mo ago
Modrinth
Forge 1.17 – 1.20.1 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.

Версії

Історія версій недоступна. Натисни «Завантажити», щоб отримати останню версію з джерела.

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити Dye

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.