diff --git a/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_64.json b/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_64.json index 719adf8b1f..e50db9c222 100644 --- a/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_64.json +++ b/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_64.json @@ -9,6 +9,9 @@ "minecraft:villager", "minecraft:armadillo", "minecraft:creaking", - "minecraft:creaking_transient" + { + "id": "minecraft:creaking_transient", + "required": false + } ] } diff --git a/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_8.json b/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_8.json index 5cf9eaab74..b7faef1ede 100644 --- a/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_8.json +++ b/datapacks/Bookshelf/data/bs.hitbox/tags/entity_type/size/group_8.json @@ -33,6 +33,9 @@ "minecraft:warden", "minecraft:wither", "minecraft:creaking", - "minecraft:creaking_transient" + { + "id": "minecraft:creaking_transient", + "required": false + } ] } diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c3d1f15513..1a1922419f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,14 @@ --- +## 📦 Bookshelf - 2.2.2 + +### 🐛 Fixes + +- **[#293](https://github.com/Gunivers/Bookshelf/issues/293)** Entity `creaking_transient` was removed from Minecraft 1.21.4, causing `bs.hitbox` to stop working for entities. + +--- + ## 📦 Bookshelf - 2.2.1 Bookshelf is now based on **Minecraft 1.21.4**. @@ -10,6 +18,8 @@ Bookshelf is now based on **Minecraft 1.21.4**. - **[#288](https://github.com/Gunivers/Bookshelf/issues/288)** Fix `bs.move` collisions. - **[#290](https://github.com/Gunivers/Bookshelf/issues/290)** Add missing blocks in `bs.block` registries. +--- + ## 📦 Bookshelf - 2.2.0 ```{epigraph} diff --git a/scripts/src/packtest/assets.py b/scripts/src/packtest/assets.py index ec3b541bb9..80aca244e0 100644 --- a/scripts/src/packtest/assets.py +++ b/scripts/src/packtest/assets.py @@ -41,6 +41,10 @@ def get_modrinth_url(project_id: str, mc_version: str) -> str: response = requests.get(f"https://api.modrinth.com/v2/project/{project_id}/version") response.raise_for_status() versions = response.json() - if versions := [version for version in versions if mc_version in version["game_versions"]]: + if versions := [ + version + for version in versions + if any(v.startswith(mc_version) for v in version["game_versions"]) + ]: return versions[0]["files"][0]["url"] raise RuntimeError(f"Could not find a version for {project_id} that matches the MC version: {mc_version}")