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

Raywire

An event library for BTA, designed to provide a flexible and efficient event-driven system for BTA mod developers.

Загрузки
349
Подписчики
0
Обновлён
18 декабря 2025 г.
Лицензия
MIT

Опубликован 21 июня 2025 г.

Исходный код

Raywire

Raywire is an event library for Better Than Adventure (BTA), designed to provide a flexible and efficient event-driven system for BTA mod developers.

Written in Kotlin, Raywire makes it easy to create, subscribe to, and manage custom events within your BTA mods.

Using Raywire in Your Mod

Add Raywire as a dependency in your build.gradle.kts:

dependencies {
    implementation("com.github.Apollointhehouse:Raywire:<version>")
}

Replace <version> with the latest Raywire release.


Usage

Take a look at the Event Library for information on how to use this.

This mod provides a global bus you can optionally choose to use:

import me.apollointhehouse.raywire.Raywire

val bus = Raywire.GLOBAL_BUS

Dependencies

Ченджлог

2.1.0Релизb1.7.3 · 18 декабря 2025 г.

This mod no longer provides the event system itself and rather provides a GLOBAL_BUS for Event-Library, see Event-Library for documentaton

1.0.5Релизb1.7.3 · 11 ноября 2025 г.

Removed FLK as a dependency, removed example events and mixins

1.0.4Релизb1.7.3 · 6 июля 2025 г.

Removed halplibe as a dependency!

1.0.3Релизb1.7.3 · 6 июля 2025 г.

Fixed issue with FLK, renamed Registry to Bus, bumped version to 1.0.3

1.0.2Релизb1.7.3 · 21 июня 2025 г.

Updated to BTA 7.3_04

1.0.1Релизb1.7.3 · 21 июня 2025 г.

Minor improvements

Комментарии

Загружаем…