Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sschr15/khasm

WIP Kotlin DSL for doing ASM with fabric
https://github.com/sschr15/khasm

Last synced: 25 days ago
JSON representation

WIP Kotlin DSL for doing ASM with fabric

Awesome Lists containing this project

README

        

# Khasm

a concern library that does what Mixin can't

## Using

```groovy
repositories {
maven {
url 'https://maven.concern.i.ng/'
}
}

dependencies {
// including is currently not recommended as khasm includes kotlin-stdlib itself
modImplementation('khasm:khasm:VERSION')
}
```

Get the latest version (instead of `VERSION`) from the [properties file](gradle.properties)

Initialize by making a subclass of [KhasmInitializer](src/main/kotlin/net/khasm/KhasmLoad.kt)

## Example

[This](src/main/kotlin/net/khasm/test/KhasmTest.kt) is the fabric-example-mod
[example mixin](https://github.com/FabricMC/fabric-example-mod/blob/master/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java)
implemented with khasm.