Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"minecraft:villager",
"minecraft:armadillo",
"minecraft:creaking",
"minecraft:creaking_transient"
{
"id": "minecraft:creaking_transient",
"required": false
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"minecraft:warden",
"minecraft:wither",
"minecraft:creaking",
"minecraft:creaking_transient"
{
"id": "minecraft:creaking_transient",
"required": false
}
]
}
10 changes: 10 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand All @@ -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}
Expand Down
6 changes: 5 additions & 1 deletion scripts/src/packtest/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Loading