Skip to content

Commit fd0a50d

Browse files
authored
Merge pull request #9 from Xterionix/main
Create incompatible_runtime.md
2 parents fec2fd0 + e471f68 commit fd0a50d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Entity - Incompatible Runtime
2+
3+
`behaviorpack.entity.incompatible_runtime`
4+
5+
A specified component is incompatible with the entity's runtime identifier.
6+
7+
## Example
8+
9+
The following will result in an error:
10+
11+
```jsonc
12+
{
13+
"format_version": "1.16.0",
14+
"minecraft:entity": {
15+
"description": {
16+
"identifier": "example:foo",
17+
"runtime_identifier": "minecraft:dolphin"
18+
},
19+
"components": {
20+
"minecraft:movement.basic": {}
21+
}
22+
}
23+
}
24+
```
25+
26+
The runtime `minecraft:dolphin` adds the component `minecraft:movement.dolphin` to the entity. There being two movement components causes an error.

0 commit comments

Comments
 (0)