aboutsummaryrefslogtreecommitdiff
path: root/fabric
diff options
context:
space:
mode:
Diffstat (limited to 'fabric')
-rw-r--r--fabric/build.gradle2
-rw-r--r--fabric/src/main/java/me/shedaniel/rei/mixin/fabric/MixinTagManager.java3
-rw-r--r--fabric/src/main/resources/error_notifier.json4
-rw-r--r--fabric/src/main/resources/fabric.mod.json2
4 files changed, 6 insertions, 5 deletions
diff --git a/fabric/build.gradle b/fabric/build.gradle
index 268eb8ed7..c51d51579 100644
--- a/fabric/build.gradle
+++ b/fabric/build.gradle
@@ -150,7 +150,7 @@ unifiedPublishing {
token = project.hasProperty("modrinth_key") ? project.property("modrinth_key") : System.getenv("modrinth_key")
id = "nfn13YXA"
version = "$project.version+$project.name"
- gameVersions.addAll project.minecraft_version, "1.20.6"
+ gameVersions.addAll project.minecraft_version
}
}
}
diff --git a/fabric/src/main/java/me/shedaniel/rei/mixin/fabric/MixinTagManager.java b/fabric/src/main/java/me/shedaniel/rei/mixin/fabric/MixinTagManager.java
index c872f4395..c87b2073e 100644
--- a/fabric/src/main/java/me/shedaniel/rei/mixin/fabric/MixinTagManager.java
+++ b/fabric/src/main/java/me/shedaniel/rei/mixin/fabric/MixinTagManager.java
@@ -26,6 +26,7 @@ package me.shedaniel.rei.mixin.fabric;
import me.shedaniel.rei.plugin.common.displays.tag.TagNodes;
import net.minecraft.core.Registry;
import net.minecraft.core.RegistryAccess;
+import net.minecraft.core.registries.Registries;
import net.minecraft.resources.ResourceKey;
import net.minecraft.server.packs.resources.ResourceManager;
import net.minecraft.tags.TagManager;
@@ -42,6 +43,6 @@ public abstract class MixinTagManager<T> {
@Inject(method = "createLoader", at = @At("HEAD"))
private void load(ResourceManager resourceManager, Executor executor, RegistryAccess.RegistryEntry<T> registryEntry, CallbackInfoReturnable<CompletableFuture<TagManager.LoadResult<T>>> cir) {
ResourceKey<? extends Registry<T>> resourceKey = registryEntry.key();
- TagNodes.TAG_DIR_MAP.put(TagManager.getTagDir(resourceKey), resourceKey);
+ TagNodes.TAG_DIR_MAP.put(Registries.tagsDirPath(resourceKey), resourceKey);
}
}
diff --git a/fabric/src/main/resources/error_notifier.json b/fabric/src/main/resources/error_notifier.json
index 6c38714b3..656895b7a 100644
--- a/fabric/src/main/resources/error_notifier.json
+++ b/fabric/src/main/resources/error_notifier.json
@@ -12,14 +12,14 @@
"type": "depends",
"modId": "architectury",
"modName": "Architectury API",
- "versions": ">=12.0.0 <13.0.0",
+ "versions": ">=13.0.0 <14.0.0",
"url": "https://www.curseforge.com/minecraft/mc-mods/architectury-api/"
},
{
"type": "depends",
"modId": "cloth-config2",
"modName": "Cloth Config",
- "versions": ">=14.0.0 <15.0.0",
+ "versions": ">=15.0.0 <16.0.0",
"url": "https://www.curseforge.com/minecraft/mc-mods/cloth-config/"
}
]
diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json
index e0c84f24a..ab7aee27b 100644
--- a/fabric/src/main/resources/fabric.mod.json
+++ b/fabric/src/main/resources/fabric.mod.json
@@ -119,6 +119,6 @@
}
},
"depends": {
- "minecraft": "~1.20-"
+ "minecraft": "~1.21-"
}
}