Skip to content

Commit 4186d6e

Browse files
CopilotDaanV2
andauthored
docs: fix review comments - snake_case property and biome example correction
Agent-Logs-Url: https://github.com/Blockception/Minecraft-Error-Codes/sessions/891ec4e6-be95-46af-bbeb-2fb52f889ee2 Co-authored-by: DaanV2 <2393905+DaanV2@users.noreply.github.com>
1 parent fb399c6 commit 4186d6e

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

behaviorpack/biome/components/replace_biomes/multiple_dimensions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This warning is triggered when the language server detects that a biome's replac
1414

1515
## Example
1616

17-
The following biome definition incorrectly targets multiple dimensions:
17+
The following biome definition incorrectly targets multiple dimensions using the `replace_biomes` component:
1818

1919
```jsonc
2020
{
@@ -24,8 +24,9 @@ The following biome definition incorrectly targets multiple dimensions:
2424
"identifier": "example:my_custom_biome"
2525
},
2626
"components": {
27-
"minecraft:overworld_height": {
28-
"noise_params": [0, 0.1]
27+
"minecraft:overworld_generation_rules": {
28+
"replace_biomes": "minecraft:plains",
29+
"weight": 10
2930
},
3031
"minecraft:nether_generation_rules": {
3132
"target_percentage": 0.1

behaviorpack/entity/components/deprecated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The following entity definition uses a deprecated component:
2525
},
2626
"components": {
2727
"minecraft:breathable": {
28-
"totalSupply": 15
28+
"total_supply": 15
2929
}
3030
}
3131
}

0 commit comments

Comments
 (0)