aboutsummaryrefslogtreecommitdiff
path: root/spark-fabric
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2022-12-07 22:16:26 +0000
committerLuck <git@lucko.me>2022-12-07 22:16:26 +0000
commit205073cfa9fea36a85da918a0f8cc26042a33aed (patch)
treebb8726a59da8a21c5f7885d2e037b701d6c7ecf3 /spark-fabric
parentfc1e371d67551e9548491e9bf50534d91ce5d170 (diff)
downloadspark-205073cfa9fea36a85da918a0f8cc26042a33aed.tar.gz
spark-205073cfa9fea36a85da918a0f8cc26042a33aed.tar.bz2
spark-205073cfa9fea36a85da918a0f8cc26042a33aed.zip
Fabric 1.19.3
Diffstat (limited to 'spark-fabric')
-rw-r--r--spark-fabric/build.gradle8
-rw-r--r--spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/spark-fabric/build.gradle b/spark-fabric/build.gradle
index fce859a..8b6d030 100644
--- a/spark-fabric/build.gradle
+++ b/spark-fabric/build.gradle
@@ -28,9 +28,9 @@ configurations {
dependencies {
// https://modmuss50.me/fabric.html
- minecraft 'com.mojang:minecraft:1.19.2'
- mappings 'net.fabricmc:yarn:1.19.2+build.1:v2'
- modImplementation 'net.fabricmc:fabric-loader:0.14.9'
+ minecraft 'com.mojang:minecraft:1.19.3'
+ mappings 'net.fabricmc:yarn:1.19.3+build.2:v2'
+ modImplementation 'net.fabricmc:fabric-loader:0.14.11'
Set<String> apiModules = [
"fabric-api-base",
@@ -40,7 +40,7 @@ dependencies {
// Add each module as a dependency
apiModules.forEach {
- modImplementation(fabricApi.module(it, '0.59.0+1.19.2'))
+ modImplementation(fabricApi.module(it, '0.68.1+1.19.3'))
}
include(modImplementation('me.lucko:fabric-permissions-api:0.1-SNAPSHOT'))
diff --git a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java
index 9eb2694..22794c2 100644
--- a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java
+++ b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java
@@ -60,13 +60,13 @@ public class FabricExtraMetadataProvider implements MetadataProvider {
}
private static String resourcePackSource(ResourcePackSource source) {
- if (source == ResourcePackSource.PACK_SOURCE_NONE) {
+ if (source == ResourcePackSource.NONE) {
return "none";
- } else if (source == ResourcePackSource.PACK_SOURCE_BUILTIN) {
+ } else if (source == ResourcePackSource.BUILTIN) {
return "builtin";
- } else if (source == ResourcePackSource.PACK_SOURCE_WORLD) {
+ } else if (source == ResourcePackSource.WORLD) {
return "world";
- } else if (source == ResourcePackSource.PACK_SOURCE_SERVER) {
+ } else if (source == ResourcePackSource.SERVER) {
return "server";
} else {
return "unknown";