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

Данные могли устареть: источник временно недоступен, показан кэш.

Eclipse

A MIXIN Plugin Library for Paper servers

Загрузки
8K
Подписчики
13
Обновлён
28 декабря 2024 г.
Лицензия
GPL-3.0-only

Опубликован 18 сентября 2024 г.

Eclipse

Eclipse has been officially deprecated and superceded by the CanvasMC organization Horizon project, as such, Eclipse will no longer recieve updates.


Eclipse is a Paper plugin that introduces SpongePowered/Fabric Mixin to the Paper server environment. This project implements a modified version of the Ignite Mixin Launcher, modified to be more flexible and agnostic in terms of the Minecraft version(allowing it to function on numerous versions with little issues) and built specifically for the Eclipse environment.

Eclipse includes a large array of features:

  • Access Wideners
  • Fabric Mixins
  • Mixin Extras

Getting Started

To use Eclipse, include the following options in your paper-plugin.yaml (or .yml):

mixins: [
  "example.mixins.json"
]
wideners: [
  "eclipse.accesswidener"
]
datapack-entry: true

Configuration Fields

  • mixins: Defines the Mixin configuration files your plugin will use

    Example:

    {
      "mixins": [
        "ExampleMixin"
      ],
      "package": "me.dueris.example.mixin",
      "compatibilityLevel": "JAVA_21"
    }
    
  • wideners: Specifies the access wideners.

  • datapack-entry: Allows Eclipse to also load your plugin as a vanilla datapack, similar to a fabric mod.

Installation

  1. Download Eclipse from modrinth.
  2. Place the Eclipse plugin jar in your servers plugins directory.
  3. Configure your plugins paper-plugin.yaml as shown above.

Examples

For a plugin named ExamplePlugin:

  • paper-plugin.yaml

    name: ExamplePlugin
    main: me.dueris.example.Main
    version: 1.0.0
    mixins: [
      "eclipse.mixins.json"
    ]
    wideners: [
      "eclipse.accesswidener"
    ]
    datapack-entry: true
    
  • eclipse.mixins.json

    {
      "mixins": [
        "ExampleMixin"
      ],
      "package": "me.dueris.example.mixin",
      "compatibilityLevel": "JAVA_21"
    }
    

License

This project is licensed under GPL-3.0 with an additional permission clause: Redistribution and use in binary form are allowed, provided that explicit permission is obtained from the author for direct integration into third-party projects.

See the LICENSE file for more details.


Ченджлог

2.0.4Релиз1.21.2, 1.21.3, 1.21.4 · 28 декабря 2024 г.

Fix .eclipse-remapped folder clearing when it doesnt exist.

2.0.3Релиз1.21.2, 1.21.3, 1.21.4 · 27 декабря 2024 г.

Better BootstrapInitializer entrypoint, includes BootstrapContext now. Fix bugs with paper plugin remapping

2.0.2Релиз1.21.2, 1.21.3, 1.21.4 · 26 декабря 2024 г.

Fix pack key appender for datapack-entry eclipse plugins

2.0.1-SNAPSHOTРелиз1.21.2, 1.21.3, 1.21.4 · 26 декабря 2024 г.

Fix critical issue where entrypoints would load via the jdk classloader, not ember, causing any classes loaded by entrypoints to not have mixins or access wideners applied.

2.0.0Релиз1.21.2, 1.21.3, 1.21.4 · 20 декабря 2024 г.

I rewrote the plugin.

Changelog:

  • You know that weird issue on windows terminals where you would need to press a key multiple times to make it enter that key in console? Fixed. Also custom colored logging is fixed lol
  • Vanilla logging formatting is back!
  • Rewrote mod api
  • Fixed getPlugin and getProvidingPlugin static methods in JavaPlugin
  • Basically reorganize packages everywhere
  • Rewrote context carriers
  • Rewrote launch init and game launch
  • Rewrote property service and removed blackboard api
  • Support 1.21.4
  • Rewrote Ember to use OptionSet instead of String[]
  • Named classloaders(MRJ)
  • BootstrapEntryContext compile/decompile(context carriers rewrite)
  • Added mappings resolver
    • Basically verifies if the mappings for the plugin are correct and warns if it isnt mojmapped
  • Nested library loading! You can now bundle libraries, plugins, and mixin plugins into your jar by putting htem in META-INF/mods directory of your resources!
  • Entrypoint api! Basically fabrics ModInitializer api, but more customizable :)
  • Way too many improvements and fixes
  • I forgot a lot of things
  • Added javadocs for more things
  • More APIs
  • Rewrote game patches and transformer services
1.3.3Релиз1.21.1, 1.21.2, 1.21.3 · 11 ноября 2024 г.

Just a bunch of fixes :)

1.3.2Релиз1.21.1, 1.21.2, 1.21.3 · 5 ноября 2024 г.

Update to 1.21.3

1.3.1Релиз1.21.1, 1.21.2, 1.21.3 · 5 ноября 2024 г.

Add isprovidercontext argument

Комментарии

Загружаем…