COWMODSКаталог модов

Eclipse

A MIXIN Plugin Library for Paper servers

Автор: Dueris8,5 тыс.12обновлён 28 дек. 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.


Последние версии

Все версии →
release

Eclipse 2.0.4

2.0.4
28 дек. 2024 г.6,3 тыс.Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, purpur
Скачать
Что нового
Fix .eclipse-remapped folder clearing when it doesnt exist.
release

Eclipse 2.0.3

2.0.3
27 дек. 2024 г.223Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, purpur
Скачать
Что нового
Better BootstrapInitializer entrypoint, includes BootstrapContext now. Fix bugs with paper plugin remapping
release

Eclipse 2.0.2

2.0.2
26 дек. 2024 г.162Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, purpur
Скачать
Что нового
Fix pack key appender for datapack-entry eclipse plugins
release

Eclipse 2.0.1

2.0.1-SNAPSHOT
26 дек. 2024 г.89Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, purpur
Скачать
Что нового
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.
release

Eclipse 2.0.0

2.0.0
20 дек. 2024 г.195Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, purpur
Скачать
Что нового
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 :) - See this commit: https://github.com/Dueris/Eclipse/commit/b4044b5a70d5de2b196277625b0dc3e4612e9cf6 - 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
release

Eclipse 1.3.3

1.3.3
11 нояб. 2024 г.293Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3paper, purpur
Скачать
Что нового
Just a bunch of fixes :)
release

Eclipse 1.3.2

1.3.2
5 нояб. 2024 г.429Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3paper, purpur
Скачать
Что нового
Update to 1.21.3
release

Eclipse 1.3.1

1.3.1
5 нояб. 2024 г.109Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3paper, purpur
Скачать
Что нового
Add `isprovidercontext` argument
release

Eclipse 1.3.0

1.3.0
5 нояб. 2024 г.95Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3paper, purpur
Скачать
Что нового
- Improved logging impl - Datapack entrypoint - Allows loading your plugin as a vanilla datapack instance, similar to a fabric mod - Cleaned original server instance process more during startup - Mod entrypoint API - Clean redundant code - JVM ManagementFactory for identifying which JDK to use - resolves hosts not setting JAVA_HOME ENV_VAR - JVM Instrumentation for original process to retrieve OptionSet
release

Eclipse 1.2.2

1.2.2-SNAPSHOT
13 окт. 2024 г.130Minecraft: 1.21, 1.21.1paper, purpur
Скачать
Что нового
Hey guys! Another patch, this time improving the library loader implementation to only heighten the libraries used by mixin plugins to the higher classloader, instead of all libraries.