Skip to content

Commit

Permalink
Update to 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
comp500 committed Oct 8, 2023
1 parent a4e3ac5 commit e1ff2fa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 28 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ publishing {
}

// TODO: infer from fabric.mod.json?!
def supportedVersions = ["1.20", "${project.minecraft_version}"]
def supportedVersions = ["${project.minecraft_version}"]
def verName = "${project.mod_version} (Fabric/Quilt ${project.minecraft_version})"

// Check version is as expected
Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.1
loader_version=0.14.21
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.14.22

# Mod Properties
mod_version = 1.1.8
mod_version = 1.1.9
maven_group = link.infra.borderlessmining
archives_base_name = borderless-mining

# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.83.0+1.20.1
modmenu_version=7.0.1
fabric_version=0.90.0+1.20.2
modmenu_version=8.0.0

# Publishing metadata
curseforge_id=310205
Expand Down
20 changes: 0 additions & 20 deletions src/main/java/link/infra/borderlessmining/config/ConfigScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ public ConfigListWidget(MinecraftClient minecraftClient, int width, int height,
super(minecraftClient, width, height, top, bottom, itemHeight);
}

public void tick() {
for (ConfigListEntry entry : this.children()) {
entry.tick();
}
}

@Override
public int addEntry(ConfigListEntry entry) {
return super.addEntry(entry);
Expand Down Expand Up @@ -103,20 +97,11 @@ public List<? extends Element> children() {
return buttons;
}

public void tick() {
// Stub, buttons don't tick
}

public Style getHoveredStyle(int mouseX, int mouseY) {
return null;
}
}

@Override
public void tick() {
entries.tick();
}

@Override
public final void removed() {
save();
Expand Down Expand Up @@ -243,11 +228,6 @@ public void appendClickableNarrations(NarrationMessageBuilder builder) {
};
}

@Override
public void tick() {
textField.tick();
}

@Override
public Style getHoveredStyle(int mouseX, int mouseY) {
int max = this.x + textWidth;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"depends": {
"fabricloader": ">=0.7.2",
"fabric-resource-loader-v0": "*",
"minecraft": "~1.20"
"minecraft": "~1.20.2"
}
}

0 comments on commit e1ff2fa

Please sign in to comment.