Skip to content

Commit

Permalink
Add Fabric 1.21.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Oct 22, 2024
1 parent 8ede17e commit f7c9a93
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion datapack/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack" : {
"pack_format" : 48,
"pack_format" : 55,
"description" : {
"text" : "Add FallingTree enchantments"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private <T> Optional<T> getRegistryElement(Registry<T> registryKey, ResourceLoca

@NotNull
private <T> Stream<T> getRegistryTagContent(@NotNull Registry<T> registry, @NotNull TagKey<T> tag){
return registry.getTag(tag).stream()
return registry.get(tag).stream()
.flatMap(a -> a.stream().map(Holder::value));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void sendMessage(@NotNull IComponent component, @NotNull NotificationMode
}
}
else{
raw.sendSystemMessage(text);
raw.displayClientMessage(text, true);
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ org.gradle.daemon=false
modId=fallingtree
modName=FallingTree
includeFabric=true
includeForge=true
includeNeoForge=true
includeForge=false
includeNeoForge=false
# Repository
repoUser=Rakambda
repoName=FallingTree
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ gson-version = "2.11.0"
log4j2-version = "2.24.1"

# Minecraft / Loaders
minecraftVersion = "1.21.1"
fabric-loader-version = "0.16.2"
fabric-api-version = "0.102.1+1.21.1"
minecraftVersion = "1.21.2"
fabric-loader-version = "0.16.7"
fabric-api-version = "0.106.1+1.21.2"
forge-version = "1.21.1-52.0.4"
neoforge-version = "21.1.22"

# Mod dependencies
modmenu-version = "11.0.3"
modmenu-version = "12.0.0-beta.1"
clothConfigVersion = "15.0.130"

fabric-loom-version = "1.7+"
fabric-loom-version = "1.8+"
forge-plugin-version = "[6.0.24,6.2)"
curse-version = "1.4.0"
modrinth-version = "2.8.7"
Expand Down

0 comments on commit f7c9a93

Please sign in to comment.