Ignite

Bootstraps the Minecraft Server with ModLauncher to apply Mixins and Access Transformers from mods.

License

License

Categories

Categories

Net
GroupId

GroupId

com.mineteria.ignite
ArtifactId

ArtifactId

ignite-api
Last Version

Last Version

0.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Ignite
Bootstraps the Minecraft Server with ModLauncher to apply Mixins and Access Transformers from mods.
Project URL

Project URL

https://github.com/Mineteria-Development/Ignite/
Source Code Management

Source Code Management

https://github.com/Mineteria-Development/Ignite/

Download ignite-api

How to add to project

<!-- https://jarcasting.com/artifacts/com.mineteria.ignite/ignite-api/ -->
<dependency>
    <groupId>com.mineteria.ignite</groupId>
    <artifactId>ignite-api</artifactId>
    <version>0.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.mineteria.ignite/ignite-api/
implementation 'com.mineteria.ignite:ignite-api:0.2.2'
// https://jarcasting.com/artifacts/com.mineteria.ignite/ignite-api/
implementation ("com.mineteria.ignite:ignite-api:0.2.2")
'com.mineteria.ignite:ignite-api:jar:0.2.2'
<dependency org="com.mineteria.ignite" name="ignite-api" rev="0.2.2">
  <artifact name="ignite-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mineteria.ignite', module='ignite-api', version='0.2.2')
)
libraryDependencies += "com.mineteria.ignite" % "ignite-api" % "0.2.2"
[com.mineteria.ignite/ignite-api "0.2.2"]

Dependencies

compile (16)

Group / Artifact Type Version
org.checkerframework : checker-qual jar 3.9.1
org.apache.logging.log4j : log4j-api jar 2.8.1
org.spongepowered : configurate-hocon jar 3.7.1
org.spongepowered : configurate-yaml jar 3.7.1
org.spongepowered : configurate-gson jar 3.7.1
com.google.guava : guava jar 21.0
com.google.errorprone : error_prone_annotations jar 2.0.15
com.google.inject : guice jar 4.2.0
com.google.code.gson : gson jar 2.8.0
org.spongepowered » mixin jar 0.8.2
org.ow2.asm : asm jar 7.2
org.ow2.asm : asm-analysis jar 7.2
org.ow2.asm : asm-commons jar 7.2
org.ow2.asm : asm-tree jar 7.2
org.ow2.asm : asm-util jar 7.2
net.minecraftforge » accesstransformers jar 2.2.1

Project Modules

There are no modules declared in this project.

Ignite

Build Status

Bootstraps the Minecraft Server with ModLauncher to apply Mixins and Access Transformers from Ignite mods.

Building

Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command.

In order to build Ignite you simply need to run the gradle command. You can find the compiled JAR file in ./target labeled 'ignite-launcher.jar'.

Launcher Usage

The Ignite launcher must be executed instead of the Minecraft Server. Ignite will launch the Minecraft Server itself, additionally passing in any extra arguments you provide it.

java -javaagent:./ignite-launcher.jar -Dignite.launch.jar=./paper.jar -Dignite.launch.target=org.bukkit.craftbukkit.Main -Dignite.mod.directory=./plugins -Dignite.config.directory=./plugins -jar ignite-launcher.jar

Note: You must use the -javaagent flag pointing to the launcher in order for it to start.

Mod Usage

To depend on the Ignite API in order to create your mod, you will need to add the following to your buildscript:

  • Maven
<dependency>
  <groupId>com.mineteria.ignite</groupId>
  <artifactId>ignite-api</artifactId>
  <version>0.2.2</version>
</dependency>
  • Gradle
repositories {
  mavenCentral()
}

dependencies {
  compile "com.mineteria.ignite:ignite-api:0.2.2"
}

Setup

Your mod will require a META-INF/ignite-mod.json in order to be located as a mod. The META-INF/ignite-mod.json provides the ID of the mod, and a list of Mixin configuration file names.

Example META-INF/ignite-mod.json:

{
  "id": "example",
  "version": "1.0.0",
  "target": "com.mineteria.example.ExampleMod",
  "requiredMixins": [
    "mixins.example.core.json"
  ]
}

The mods will need to be placed in the directory the launcher will be targeting to load.

Mixins

The Mixin configuration files will need to be a resource inside the mod jar, which will be used to apply the configured mixins. Mixin Specification

Access Transformers

The Access Transformers configuration file path should be provided in the manifest with the key AT. AT Specification

Inspiration

This project has many parts inspired by the following projects:

com.mineteria.ignite

Mineteria

Development Organization for Mineteria, Inc

Versions

Version
0.2.2
0.2.1
0.2.0