Skip to content

Commit

Permalink
🏷️ Dump to 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aksiome authored and theogiraudet committed Nov 26, 2024
1 parent 105bfa4 commit b651a13
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .env.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mc_version: "1.21.2"
mc_version: "1.21.3"

documentation_url: "https://bookshelf.docs.gunivers.net/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
# ------------------------------------------------------------------------------------------------------------

# dolphin group
execute unless predicate bs.hitbox:is_baby run return run data modify storage bs:out hitbox set value {width:0.585,height:0.39}
data modify storage bs:out hitbox set value {width:0.9,height:0.6}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
# ------------------------------------------------------------------------------------------------------------

# salmon group
execute unless predicate bs.hitbox:salmon/large run return run data modify storage bs:out hitbox set value {width:1.05,height:0.6}
execute unless predicate bs.hitbox:salmon/small run return run data modify storage bs:out hitbox set value {width:0.35,height:0.2}
data modify storage bs:out hitbox set value {width:0.7,height:0.4}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
# ------------------------------------------------------------------------------------------------------------

# squid group
execute unless predicate bs.hitbox:is_baby run return run data modify storage bs:out hitbox set value {width:0.4,height:0.4}
data modify storage bs:out hitbox set value {width:0.8,height:0.8}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ------------------------------------------------------------------------------------------------------------
# Copyright (c) 2024 Gunivers
#
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf).
#
# This source code is subject to the terms of the Mozilla Public License, v. 2.0.
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Conditions:
# - You may use this file in compliance with the MPL v2.0
# - Any modifications must be documented and disclosed under the same license
#
# For more details, refer to the MPL v2.0.
# ------------------------------------------------------------------------------------------------------------

# creaking group
data modify storage bs:out hitbox set value {width:0.9,height:2.7}
10 changes: 10 additions & 0 deletions datapacks/Bookshelf/data/bs.hitbox/predicate/salmon/large.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "minecraft:salmon",
"variant": "large"
}
}
}
10 changes: 10 additions & 0 deletions datapacks/Bookshelf/data/bs.hitbox/predicate/salmon/small.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "minecraft:salmon",
"variant": "small"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"minecraft:player",
"minecraft:goat",
"minecraft:villager",
"minecraft:armadillo"
"minecraft:armadillo",
"minecraft:creaking",
"minecraft:creaking_transient"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"minecraft:turtle",
"minecraft:vex",
"minecraft:warden",
"minecraft:wither"
"minecraft:wither",
"minecraft:creaking",
"minecraft:creaking_transient"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"#minecraft:rails",
"#minecraft:saplings",
"#minecraft:signs",
"#minecraft:small_flowers",
"#minecraft:tall_flowers",
"#minecraft:flowers",
"minecraft:big_dripleaf_stem",
"minecraft:brain_coral_fan",
"minecraft:brain_coral_wall_fan",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"#minecraft:rails",
"#minecraft:saplings",
"#minecraft:signs",
"#minecraft:small_flowers",
"#minecraft:tall_flowers",
"#minecraft:flowers",
"minecraft:big_dripleaf_stem",
"minecraft:brain_coral_fan",
"minecraft:brain_coral_wall_fan",
Expand Down
3 changes: 2 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*This release features new modules for random distribution and terrain generation, refinements to existing modules, performance enhancements, and minor bug resolutions. Additionally, this update aims to ensure all functions work seamlessly across all dimensions.*
```

Bookshelf is now based on **Minecraft 1.21.2**.
Bookshelf is now based on **Minecraft 1.21.3**.

### 🎉 Added modules

Expand Down Expand Up @@ -40,6 +40,7 @@ Bookshelf is now based on **Minecraft 1.21.2**.
- **[#265](https://github.com/Gunivers/Bookshelf/pull/265)** Optimized `bs.schedule` module for improved performance.
- **[#265](https://github.com/Gunivers/Bookshelf/pull/265)** Enabled `bs.move` module to function effectively at higher coordinate ranges. Collision detection has also been improved and should be more robust.
- **[#265](https://github.com/Gunivers/Bookshelf/pull/265)** Load tags do not load modules in isolation anymore. This can now be done using the `exclusive_load` tag.
- **[#276](https://github.com/Gunivers/Bookshelf/pull/276)** Add new hitboxes (new babies and salmon variants).

### 🐛 Fixes

Expand Down
5 changes: 5 additions & 0 deletions docs/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"url": "https://bookshelf.docs.gunivers.net/en/latest/",
"preferred": true
},
{
"name": "2.2.0",
"version": "v2.2.0",
"url": "https://bookshelf.docs.gunivers.net/en/v2.2.0/"
},
{
"name": "2.1.1",
"version": "v2.1.1",
Expand Down
4 changes: 0 additions & 4 deletions docs/modules/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ Make your entity move exactly the way you want them to!
-- Heraclitus
```

```{important}
This module limits the world size to 2,147,480 to prevent scoreboard overflow.
```

---

## 🔧 Functions
Expand Down

0 comments on commit b651a13

Please sign in to comment.