Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 6e20dfb

Browse files
authored
Add missing part for biome diagnosis (#280)
* - Update vanilla-data * - Add missing biome func * - Update vanilla-data
1 parent 2926982 commit 6e20dfb

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"dependencies": {
5757
"bc-minecraft-bedrock-command": "^1.21.100-3",
5858
"bc-minecraft-bedrock-types": "^1.22.1-16",
59-
"bc-minecraft-bedrock-vanilla-data": "^1.21.80-10",
59+
"bc-minecraft-bedrock-vanilla-data": "^1.21.80-11",
6060
"bc-minecraft-molang": "^1.21.100-12",
6161
"bc-minecraft-project": "^1.21.73-8",
6262
"jsonc": "^2.0.0"

src/data/minecraft.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ export class BehaviorData {
9191
fromProject(() => this._behaviorpacks.animation_controllers)
9292
// No Vanilla
9393
);
94+
biomes = firstReturn(
95+
fromDefinition("biome"),
96+
fromProject(() => this._behaviorpacks.biomes),
97+
fromVanilla(VanillaData.BehaviorPack.getBiome)
98+
);
9499
blocks = firstReturn(
95100
fromDefinition("block"),
96101
fromProject(() => this._behaviorpacks.blocks),

0 commit comments

Comments
 (0)