-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Xterionix/main
Create incompatible_runtime.md
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Entity - Incompatible Runtime | ||
|
||
`behaviorpack.entity.incompatible_runtime` | ||
|
||
A specified component is incompatible with the entity's runtime identifier. | ||
|
||
## Example | ||
|
||
The following will result in an error: | ||
|
||
```jsonc | ||
{ | ||
"format_version": "1.16.0", | ||
"minecraft:entity": { | ||
"description": { | ||
"identifier": "example:foo", | ||
"runtime_identifier": "minecraft:dolphin" | ||
}, | ||
"components": { | ||
"minecraft:movement.basic": {} | ||
} | ||
} | ||
} | ||
``` | ||
|
||
The runtime `minecraft:dolphin` adds the component `minecraft:movement.dolphin` to the entity. There being two movement components causes an error. |