mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-21 16:17:37 +01:00
parent
c1cbf7dacd
commit
3cedc30260
@ -20,7 +20,7 @@ def ENV = System.getenv()
|
||||
|
||||
group = "com.viaversion.fabric"
|
||||
description = "Client-side and server-side ViaVersion implementation for Fabric"
|
||||
version = "0.4.7+" + ENV.GITHUB_RUN_NUMBER + "-" + getBranch()
|
||||
version = "0.4.8+" + ENV.GITHUB_RUN_NUMBER + "-" + getBranch()
|
||||
logger.lifecycle("Building ViaFabric: $version")
|
||||
|
||||
def getBranch() {
|
||||
@ -162,7 +162,7 @@ processResources {
|
||||
}
|
||||
|
||||
List<String> mcReleases = new ArrayList<>(
|
||||
Arrays.asList("1.19", "1.18.2", "1.17.1", "1.16.5", "1.15.2", "1.14.4", "1.8.9"))
|
||||
Arrays.asList("1.19.1", "1.18.2", "1.17.1", "1.16.5", "1.15.2", "1.14.4", "1.8.9"))
|
||||
List<String> javaVersions = IntStream.rangeClosed(8, 18)
|
||||
.mapToObj { n -> (String) "Java $n" }
|
||||
.collect(Collectors.toList())
|
||||
|
@ -4,8 +4,8 @@ org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
|
||||
org.gradle.parallel=true
|
||||
|
||||
loader_version=0.14.8
|
||||
viaver_version=4.4.0-1.19.1-rc2-SNAPSHOT
|
||||
viaver_version=4.4.0
|
||||
yaml_version=1.30
|
||||
|
||||
modrinth_mc_snapshot=1.19.1-rc2
|
||||
curseforge_mc_snapshot=1.19-Snapshot
|
||||
modrinth_mc_snapshot=
|
||||
curseforge_mc_snapshot=
|
||||
|
@ -21,7 +21,12 @@ public class RemappingUtil {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private static final LegacyComponentSerializer LEGACY_SERIALIZER = LegacyComponentSerializer.builder()
|
||||
.character('§')
|
||||
.extractUrls()
|
||||
.build();
|
||||
|
||||
public static String legacyToJson(String legacy) {
|
||||
return GsonComponentSerializer.gson().serialize(LegacyComponentSerializer.legacySection().deserialize(legacy));
|
||||
return GsonComponentSerializer.gson().serialize(LEGACY_SERIALIZER.deserialize(legacy));
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
dependencies {
|
||||
minecraft("com.mojang:minecraft:1.19.1-rc2")
|
||||
mappings("net.fabricmc:yarn:1.19.1-rc2+build.3:v2")
|
||||
minecraft("com.mojang:minecraft:1.19.1")
|
||||
mappings("net.fabricmc:yarn:1.19.1+build.1:v2")
|
||||
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.58.1+1.19.1")
|
||||
modImplementation("com.terraformersmc:modmenu:4.0.0")
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.58.5+1.19.1")
|
||||
modImplementation("com.terraformersmc:modmenu:4.0.4")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user