Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sschr15/khasm
- Owner: sschr15
- License: mpl-2.0
- Created: 2021-01-10T19:43:16.000Z (almost 4 years ago)
- Default Branch: 1.18
- Last Pushed: 2021-11-30T17:13:30.000Z (almost 3 years ago)
- Last Synced: 2024-04-18T03:22:13.832Z (7 months ago)
- Language: Kotlin
- Homepage:
- Size: 280 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.