Skip to content

Commit bbb0c66

Browse files
Merge pull request #286 from FTBTeam/1.19/dev
build: updated build toolchain to fix mixin remap issues
2 parents b072d0e + 69eef8d commit bbb0c66

File tree

9 files changed

+22
-13
lines changed

9 files changed

+22
-13
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1902.4.6]
8+
9+
### Fixed
10+
* Updated the build toolchain to fix refmap reobfuscation issues introduced in 1902.4.5
11+
712
## [1902.4.5]
813

914
### Fixed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "architectury-plugin" version "3.4-SNAPSHOT"
3-
id "dev.architectury.loom" version "0.12.0-SNAPSHOT" apply false
3+
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
44
}
55

66
architectury {

common/src/main/java/dev/ftb/mods/ftbchunks/client/MinimapPosition.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package dev.ftb.mods.ftbchunks.client;
22

33
import dev.ftb.mods.ftblibrary.config.NameMap;
4+
import org.jetbrains.annotations.Nullable;
45

5-
import javax.annotation.Nullable;
66
import java.util.function.Predicate;
77

88
/**

common/src/main/java/dev/ftb/mods/ftbchunks/client/map/MapRegion.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
import dev.ftb.mods.ftblibrary.math.XZ;
1111
import net.minecraft.client.Minecraft;
1212
import net.minecraft.world.level.ChunkPos;
13+
import org.jetbrains.annotations.NotNull;
1314
import org.jetbrains.annotations.Nullable;
1415

15-
import javax.annotation.Nonnull;
1616
import java.io.IOException;
1717
import java.util.Collection;
1818
import java.util.HashMap;
@@ -63,14 +63,14 @@ public long getLastDataAccess() {
6363
return lastDataAccess;
6464
}
6565

66-
@Nonnull
66+
@NotNull
6767
public MapRegionData getDataBlocking() {
6868
synchronized (dimension.manager.lock) {
6969
return getDataBlockingNoSync();
7070
}
7171
}
7272

73-
@Nonnull
73+
@NotNull
7474
public MapRegionData getDataBlockingNoSync() {
7575
if (data == null) {
7676
data = new MapRegionData(this);

common/src/main/java/dev/ftb/mods/ftbchunks/data/ClaimedChunkManager.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
import net.minecraft.world.level.ChunkPos;
2727
import net.minecraft.world.level.Level;
2828
import net.minecraft.world.level.storage.LevelResource;
29+
import org.jetbrains.annotations.NotNull;
2930
import org.jetbrains.annotations.Nullable;
3031

31-
import javax.annotation.Nonnull;
3232
import java.io.IOException;
3333
import java.nio.file.Files;
3434
import java.nio.file.Path;
@@ -251,7 +251,7 @@ public Map<ResourceKey<Level>,Long2ObjectMap<UUID>> getForceLoadedChunks() {
251251
return forceLoadedChunkCache;
252252
}
253253

254-
@Nonnull
254+
@NotNull
255255
public Long2ObjectMap<UUID> getForceLoadedChunks(ResourceKey<Level> dimension) {
256256
return getForceLoadedChunks().getOrDefault(dimension, EMPTY_CHUNKS);
257257
}

fabric/build.gradle

+6-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,13 @@ processResources {
7777
}
7878
}
7979

80+
sourcesJar {
81+
dependsOn copyAccessWidener
82+
}
83+
8084
shadowJar {
8185
configurations = [project.configurations.shadowCommon]
82-
classifier "dev-shadow"
86+
setArchiveClassifier("dev-shadow")
8387
}
8488

8589
remapJar {
@@ -90,7 +94,7 @@ remapJar {
9094
}
9195

9296
jar {
93-
classifier "dev"
97+
setArchiveClassifier("dev")
9498
}
9599

96100
components.java {

forge/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ shadowJar {
9090
exclude "fabric.mod.json"
9191

9292
configurations = [project.configurations.shadowCommon]
93-
classifier "dev-shadow"
93+
setArchiveClassifier("dev-shadow")
9494
}
9595

9696
remapJar {
@@ -113,7 +113,7 @@ jar {
113113
])
114114
}
115115

116-
classifier "dev"
116+
setArchiveClassifier("dev")
117117
}
118118

119119
components.java {

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ org.gradle.daemon=false
55
mod_id=ftbchunks
66
archives_base_name=ftb-chunks
77
maven_group=dev.ftb.mods
8-
mod_version=1902.4.5
8+
mod_version=1902.4.6
99
mod_author=FTB Team
1010
minecraft_version=1.19.2
1111
forge_version=43.2.8

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip

0 commit comments

Comments
 (0)