Перейти к содержимому
Mineforgian

Koremods

A Kotlin Script bytecode manipulation framework

Загрузки
357K
Подписчики
6
Обновлён
27 декабря 2023 г.
Лицензия
MIT

Опубликован 9 июня 2022 г.

Koremods

Koremods is a Kotlin Script bytecode manipulation framework. It providers modders a new way of transforming (not just) minecraft bytecode with rich IDE support and Gradle integration.

This Modrinth project contains releases for Koremods Modlauncher, the MinecraftForge frontend.

Main Features

  • 📦 Sandboxed
    • Koremods scripts are executed in an isolated environment to ensure they only access necessary classes and resources
  • Focused
    • Using the ASM Kotlin wrapper Koffee, you can focus on writing transformers without needless boilerplate code
  • Lightweight Runtime
    • Near-instant evaluation speeds of scripts pre-compiled by the Koremods Gradle plugin
  • 🧩 Portable
    • Koremods' feature-rich core allows easy compatibility with your desired platform
    • Frontends only need to create a thin layer beween the platform and Koremods Script.
  • 🖋️ Rich IDE Support
    • Koremods offers first-class syntax highlighting and autocompletion thanks to IntelliJ IDEA’s Kotlin Script support

Documentation

To get started using Koremods in your mod, check our wiki.

Kotlin Script

Kotlin Scripting is a new, experimental technology that lets you run Kotlin code without prior compilation or packaging. All of Kotlin's language features are available, usually with the addition of a speficic DSL provided by the script definition. Scripts are compiled into bytecode at runtime, and then loaded into the JVM using a custom classloader.

Ченджлог

2.0.0Релиз1.20.4 · 27 декабря 2023 г.

2.0

  • 2.0.0 Port to NeoForge 1.20.4
1.0.0Релиз1.20.1 · 16 июля 2023 г.

1.0

  • 1.0.0 Update to Kotlin 1.9.0
0.7.0Бета1.20.1 · 3 июля 2023 г.

0.7

  • 0.7.0 Update to Minecraft 1.20.1
0.4.11Бета1.18.2 · 28 апреля 2023 г.

0.4

  • 0.4.11 Backport bugfixes from 5.+
  • 0.4.10 Bump Koremods to 0.4.12
  • 0.4.9 Fix script pack verification on servers
  • 0.4.8 Fix mod locator on latest Forge
  • 0.4.7 Add embedded FML mod Lets consumers declare a dependency on koremods in their mod metadata, and also shows koremods in the mod list.
  • 0.4.6 Fix reading compiled scripts from zip archives
  • 0.4.5 Bump Koremods to 0.4.9
  • 0.4.4 Bump Koremods to 0.4.6, remove snapshot publishing Snapshots will come later
  • 0.4.3 Add snapshots publishing repository
  • 0.4.2 Add missing license headers Wow this is becoming annoying
  • 0.4.1 Add custom script JiJ ClassLoader
  • 0.4.0 Cleanup jij dependency resolution
0.6.1Релиз1.19.2, 1.19.3 · 10 апреля 2023 г.

0.6

  • 0.6.1 Fix pack path normalization
  • 0.6.0 Configurable auto renaming
0.6.0Бета1.19.3 · 7 апреля 2023 г.

0.6

  • 0.6.0 Configurable auto renaming
0.5.9Бета1.19.2, 1.19.3 · 6 апреля 2023 г.

0.5

  • 0.5.9  Handle Koremods Loader exceptions
  • 0.5.8  Catch FileNotFoundException in script classloader
  • 0.5.7  Add service jar to api config
  • 0.5.6  Use JiJ for the mod jar
  • 0.5.5  Separate kotlin dependent code into a separate source set
  • 0.5.4  Update license headers
  • 0.5.3  Update to minecraft 1.19.3
              Move classes to modlauncher package to avoid split package conflict
  • 0.5.2  Automatic transformer name remapping
  • 0.5.1  Add changelog plugin
  • 0.5.0  Fix script pack verification on servers
              Closes #1
0.5.8Бета1.19.3 · 5 апреля 2023 г.

0.5

  • 0.5.8 Catch FileNotFoundException in script classloader
  • 0.5.7 Add service jar to api config
  • 0.5.6 Use JiJ for the mod jar
  • 0.5.5 Separate kotlin dependent code into a separate source set
  • 0.5.4 Update license headers
  • 0.5.3 Update to minecraft 1.19.3
             Move classes to modlauncher package to avoid split package conflict
  • 0.5.2 Automatic transformer name remapping
  • 0.5.1 Add changelog plugin
  • 0.5.0 Fix script pack verification on servers
             Closes #1

Комментарии

Загружаем…