Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,12 @@ OpenUtils is designed to be:

## Credits

- **Azura-Event-Bus** - © 2025 Azura (MIT License)
https://github.com/azura-client/Azura-Event-Bus
- **Click GUI Design** - ported from **raven b3**
https://www.youtube.com/@blowsy
https://www.youtube.com/watch?v=FCPr6S1bLis

---

## Included Third-Party Code

### Azura-Event-Bus

This project includes a copied and lightly adapted event bus implementation from the Azura-Event-Bus project.

- **Project:** Azura-Event-Bus
- **Source:** https://github.com/azura-client/Azura-Event-Bus
- **License:** MIT License
- **Copyright:** © 2025 Azura

The Azura-Event-Bus remains licensed under the MIT License.
All required license notices are preserved in the source files where it is used.

---

## Licensing

### OpenUtils License
Expand All @@ -69,12 +51,6 @@ This means:
- Any distributed derivative works **must remain open-source**
- Modifications must be provided under the same license

### License Compatibility
- OpenUtils (GPL-3.0)
- Azura Event Bus (MIT)

---

## Disclaimer

This project is provided **as-is**, without warranty of any kind.
Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ repositories {
mavenCentral()
maven("https://repo.spongepowered.org/maven/")
maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1")
maven("https://maven.tsuku.re/releases")
}

val shade: Configuration by configurations.creating {
Expand All @@ -105,6 +106,7 @@ dependencies {
forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9")

shade("com.google.code.gson:gson:2.13.2")
shade("re.tsuku:fastbus:1.1.1")
shade("org.spongepowered:mixin:0.7.11-SNAPSHOT") {
isTransitive = false
}
Expand Down Expand Up @@ -157,8 +159,8 @@ tasks {
fun relocateInside(name: String) = relocate(name, "org.afterlike.openutils.lib.$name")

relocateInside("com.google.gson")
relocateInside("re.tsuku.fastbus")
}

assemble.get().dependsOn(remapJar)
}

8 changes: 4 additions & 4 deletions src/main/java/org/afterlike/openutils/OpenUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import net.minecraft.util.EnumChatFormatting;
import net.minecraftforge.fml.common.FMLCommonHandler;
import org.afterlike.openutils.config.handler.ConfigHandler;
import org.afterlike.openutils.event.api.EventBus;
import org.afterlike.openutils.gui.ClickGuiScreen;
import org.afterlike.openutils.module.handler.ModuleHandler;
import org.afterlike.openutils.util.client.UpdateUtil;
import org.afterlike.openutils.util.lang.ReflectionUtil;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import re.tsuku.fastbus.FastBus;

public class OpenUtils {
private static final Logger logger = LogManager.getLogger(OpenUtils.class);
Expand All @@ -23,12 +23,12 @@ public class OpenUtils {
private static volatile boolean notified = false;
private final ModuleHandler moduleHandler;
private final ConfigHandler configHandler;
private final EventBus eventBus;
private final FastBus eventBus;
private ClickGuiScreen clickGuiScreen;
public OpenUtils() {
this.moduleHandler = new ModuleHandler();
this.configHandler = new ConfigHandler();
this.eventBus = new EventBus();
this.eventBus = new FastBus();
}

public void initialize() {
Expand All @@ -52,7 +52,7 @@ public void lateInitialize() {
UpdateUtil.checkAsync();
}

public EventBus getEventBus() {
public FastBus getEventBus() {
return eventBus;
}

Expand Down

This file was deleted.

30 changes: 0 additions & 30 deletions src/main/java/org/afterlike/openutils/event/api/Event.java

This file was deleted.

151 changes: 0 additions & 151 deletions src/main/java/org/afterlike/openutils/event/api/EventBus.java

This file was deleted.

35 changes: 0 additions & 35 deletions src/main/java/org/afterlike/openutils/event/api/EventPriority.java

This file was deleted.

Loading
Loading