Skip to content

Commit

Permalink
Merge pull request #9 from Xterionix/main
Browse files Browse the repository at this point in the history
Create incompatible_runtime.md
  • Loading branch information
DaanV2 authored May 5, 2024
2 parents fec2fd0 + e471f68 commit fd0a50d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions behaviorpack/entity/incompatible_runtime.md
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.

0 comments on commit fd0a50d

Please sign in to comment.