HomeJavaModsLightWire - IoC
LightWire - IoC
LightWire
A lightweight InvesrionOfControl container.
Share and create instances of your classes with ease!

Maven Installation
Code (Text):
<dependency>
    <groupId>io.github.mr-empee</groupId>
    <artifactId>lightwire</artifactId>
    <version>0.0.1</version>
</dependency>
Gradle Installation
Code (Text):
implementation("io.github.mr-empee:lightwire:0.0.1")
Usage

1. Initialize the IoC container inside you main class file
Code (Java):
private final LightWire iocContainer = LightWire. of (getClass ( ). getPackage ( ) ) ;
2. Invoke the loading method to eagerly load all the classes annotated with @LightWired
Code (Text):
iocContainer.load();
3. You can look at how it is used on MysticalBarriers, one of my projects!
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

LightWire - IoC is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.12, 1.20. Downloaded 211 times (via Spigot). Download it and open it directly in the game.

Explore more