Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed Jun 22, 2024
1 parent f4635e3 commit 50f245a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### What's New

* Updated Dark Matter.
* Fixed startup crash and default linkers in 1.21.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ publishMods {
projectId = "sc4Mu9Zu"
accessToken = providers.environmentVariable("MODRINTH_TOKEN")
minecraftVersions.add("${project.minecraft_version}")
minecraftVersions.add("1.21")

requires("fabric-api")
embeds("dark-matter")
Expand All @@ -156,6 +157,7 @@ publishMods {
projectId = "622736"
accessToken = providers.environmentVariable("CURSEFORGE_TOKEN")
minecraftVersions.add("${project.minecraft_version}")
minecraftVersions.add("1.21")

requires("fabric-api")
embeds("dark-matter")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ org.gradle.jvmargs=-Xmx1G
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.3
# Mod Properties
mod_version=5.4.4
mod_version=5.4.5
maven_group=com.github.vini2003.linkart
archives_base_name=linkart
2 changes: 1 addition & 1 deletion src/main/java/com/github/vini2003/linkart/Linkart.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Linkart implements ModInitializer {
public static final ConfigManager<LinkartConfiguration> CONFIG_MANAGER = ConfigManager.of(LinkartConfiguration.class, ID, LinkartConfiguration::new)
.exceptionHandler((e, stage, path) -> LOGGER.error("Failed to {} {}", stage.name().toLowerCase(), FabricLoader.getInstance().getGameDir().relativize(path)));
private static LinkartConfiguration CONFIG;
public static final TagKey<Item> LINKERS = TagKey.of(itemKey(), new Identifier(ID, "linkers"));
public static final TagKey<Item> LINKERS = TagKey.of(itemKey(), Identifier.of(ID, "linkers"));

static {
loadConfig();
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/data/linkart/tags/item/linkers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:chain"
]
}

0 comments on commit 50f245a

Please sign in to comment.