Showing with 11 additions and 17 deletions.
  1. +2 −6 CHANGELOG.md
  2. +2 −2 build.gradle.kts
  3. +3 −3 gradle.properties
  4. +1 −1 gradle/wrapper/gradle-wrapper.properties
  5. +3 −5 src/main/java/io/github/jamalam360/jamlib/registry/JamLibRegistry.java
8 changes: 2 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
## Changelog

JamLib has been updated to 1.20-rc1. This release will most likely work on
the 1.20 release when it comes.
- Fix a crash on Turkish locales.

## Breaking Changes

- `JamLibContentRegistry` now uses `RegistryKey<ItemGroup>` rather than
`ItemGroup`, in line with Minecraft and Fabric API changes.
[Full Changelog](https://github.com/JamCoreModding/jam-lib/compare/0.6.0+1.20...0.6.1+1.20.x)
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ plugins {
id("org.cadixdev.licenser") version "0.6.+"
}

apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/01c1aa38aa288e02f099130a998628883076ff88/publishing.gradle.kts")
apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/01c1aa38aa288e02f099130a998628883076ff88/misc.gradle.kts")
apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/7fc230a4e87b94d533ca3696cc1887bd2650a0ce/publishing.gradle.kts")
apply(from = "https://raw.githubusercontent.com/JamCoreModding/Gronk/7fc230a4e87b94d533ca3696cc1887bd2650a0ce/misc.gradle.kts")

val mod_version: String by project

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ org.gradle.jvmargs=-Xmx4G
org.gradle.parallel=true

archive_base_name=jamlib
mod_version=0.6.0+1.20
release_name=V0.6.0 [1.20]
supported_versions=1.20
mod_version=0.6.1+1.20.x
release_name=V0.6.1 [1.20.x]
supported_versions=1.20,1.20.1
github_user=JamCoreModding
github_repo=jam-lib
release_branch=1.20
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;

import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry;
import net.minecraft.block.Block;
Expand Down Expand Up @@ -318,7 +316,7 @@ private static Identifier getIdentifier(String modId, Field f) {
if (f.isAnnotationPresent(WithIdentifier.class)) {
path = f.getAnnotation(WithIdentifier.class).value();
} else {
path = f.getName().toLowerCase();
path = f.getName().toLowerCase(Locale.ROOT);
}

return new Identifier(modId, path);
Expand Down