Skip to content

Commit

Permalink
Merge pull request #9 from Nomenator/mc-version-update
Browse files Browse the repository at this point in the history
Update for 18.2 remove fabricapi
  • Loading branch information
Coow committed Mar 8, 2022
2 parents 0c522ec + 6a33f62 commit e8c3910
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them.

Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ org.gradle.jvmargs=-Xmx2G

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.18.1
yarn_mappings=1.18.1+build.2
loader_version=0.12.11
minecraft_version=1.18.2
yarn_mappings=1.18.2+build.2
loader_version=0.13.3

# Mod Properties
mod_version = 1.0.2
mod_version = 1.0.3
maven_group = xyz.mrcow
archives_base_name = cows-odd-widgets

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ public boolean onKeyInput(int keyCode, int scanCode, int modifiers, boolean even
if (eventKeyState)
{
MinecraftClient mc = MinecraftClient.getInstance();

if (mc.options.keyUse.matchesKey(keyCode, scanCode))
if (mc.options.useKey.matchesKey(keyCode, scanCode))
{
return this.handleUseKey(mc);
}
Expand Down

0 comments on commit e8c3910

Please sign in to comment.