Skip to content

Commit

Permalink
chore: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 30, 2024
1 parent cad0d2d commit 13306f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ dependencies {
For Forge:

```groovy
jarJar.enable() // Enable the Jar-in-Jar system. Make sure to put this line *before* the minecraft block!
dependencies {
// TODO need to figure out how to do jar-in-jar or shadow on Forge
implementation "net.blay09.mods:kuma-api-forge:${kuma_version}"
jarJar(group: "net.blay09.mods", name: "kuma-api-forge", version: "[${kuma_version},)")
}
```

Expand Down Expand Up @@ -119,7 +120,7 @@ class ExampleMod {
// no mod loader supports them, unless the user also installs the Kuma companion mod.
Kuma.createKeyMapping(new ResourceLocation("example", "example_key_3"))
// We want to use SPACE-CLICK by default. This is only supported
.withDefault(InputBinding.mouse(InputConstants.MOUSE_BUTTON_LEFT, KeyModifiers.ofCustom(InputConstants.getOrCreate(InputConstant.KEY_SPACE, -1))))
.withDefault(InputBinding.mouse(InputConstants.MOUSE_BUTTON_LEFT, KeyModifiers.ofCustom(InputConstants.getKey(InputConstants.KEY_SPACE, -1))))
.handleScreenInput((event) -> {
// TODO Add your press logic here
return true;
Expand Down

0 comments on commit 13306f7

Please sign in to comment.