Skip to content

Commit

Permalink
Update to 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Protonull committed Aug 19, 2024
1 parent 0b7bd22 commit 424500c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 41 deletions.
8 changes: 4 additions & 4 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CivVoxelMap

This is a 'fork' of [VoxelMap](https://modrinth.com/mod/voxelmap-updated) for 1.20.4 that's [CivMC](https://civmc.net)
This is a 'fork' of [VoxelMap](https://modrinth.com/mod/voxelmap-updated) for 1.20.6 that's [CivMC](https://civmc.net)
legal.

## Changes
Expand Down Expand Up @@ -33,12 +33,12 @@ legal.

## Requirements

- Fabric Loader: `0.15.11` (or newer)
- [Fabric API](https://modrinth.com/mod/fabric-api): `0.96.11+1.20.4` (or newer)
- Fabric Loader: `0.16.2` (or newer)
- [Fabric API](https://modrinth.com/mod/fabric-api): `0.100.8+1.20.6` (or newer)

## Recommended

- [ModMenu](https://modrinth.com/mod/modmenu): `v9.0.0` (or newer)
- [ModMenu](https://modrinth.com/mod/modmenu): `v10.0.0` (or newer)

## Having issues?

Expand Down
17 changes: 9 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,21 @@ dependencies {
modImplementation("net.fabricmc:fabric-loader:${project.extra["fabric_loader_version"]}")
modImplementation("net.fabricmc.fabric-api:fabric-api:${project.extra["fabric_api_version"]}")

// https://modrinth.com/mod/voxelmap-updated/version/1.20.4-1.12.17
"maven.modrinth:voxelmap-updated:VYowiAJp".also {
// https://modrinth.com/mod/voxelmap-updated/version/1.20.6-1.12.19
"maven.modrinth:voxelmap-updated:yfOx8RrC".also {
modImplementation(it)
include(it)
}

// https://modrinth.com/mod/modmenu/version/9.0.0
"maven.modrinth:modmenu:sjtVVlsA".also {
// https://modrinth.com/mod/modmenu/version/10.0.0
"maven.modrinth:modmenu:HLa8flfl".also {
modCompileOnly(it)
modLocalRuntime(it)
}

// This is literally only here to make Minecraft SHUT UP about non-signed messages while testing.
modLocalRuntime("maven.modrinth:no-chat-reports:Pjto4zdj")
// https://modrinth.com/mod/no-chat-reports/version/Fabric-1.20.6-v2.7.1
modLocalRuntime("maven.modrinth:no-chat-reports:MNkuIjea")
}

repositories {
Expand All @@ -59,8 +60,8 @@ repositories {

java {
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

tasks {
Expand All @@ -71,7 +72,7 @@ tasks {
}
compileJava {
options.encoding = "UTF-8"
options.release.set(17)
options.release.set(21)
}
processResources {
filesMatching("fabric.mod.json") {
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ mod_home_url=https://github.com/Protonull/CivVoxelMap
mod_source_url=https://github.com/Protonull/CivVoxelMap
mod_issues_url=https://github.com/Protonull/CivVoxelMap/issues

minecraft_version=1.20.4
minecraft_version=1.20.6
# https://parchmentmc.org/docs/getting-started
parchment_version=2024.04.14
parchment_version=2024.06.16
# https://fabricmc.net/versions.html
fabric_loader_version=0.15.11
fabric_api_version=0.96.11+1.20.4
fabric_loader_version=0.16.2
fabric_api_version=0.100.8+1.20.6

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public abstract class AlwaysUseHigherResTexturesMixin {
method = "drawWaypoint",
at = @At("HEAD"),
ordinal = 2,
argsOnly = true
argsOnly = true,
remap = false
)
private int cvm$drawWaypoint$scale$neverUseSmallWaypointIcons(
final int scScale
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/civvoxelmap.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"catching.ChatWaypointParseFixMixin",
"catching.ChatWaypointSafelyClickMixin",
"catching.ChatWaypointSafelyParseMixin",
"catching.FixEnumErrorMixin",
"catching.FixNullBlockStateIdMixin",
"commands.DisableVoxelMapCommands",
"commands.ReplaceVoxelMapCommands",
Expand Down

0 comments on commit 424500c

Please sign in to comment.