Skip to content

Commit adc9c82

Browse files
committed
More fixes
1 parent aa9a8c7 commit adc9c82

2 files changed

Lines changed: 27 additions & 23 deletions

File tree

packages/minecraftBedrock/schema/block/v1.21.130/traits/connection.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@
55
"properties": {
66
"enabled_states": {
77
"title": "Enabled States",
8-
"type": "string",
9-
"enum": [
10-
"minecraft:cardinal_connections"
11-
]
8+
"type": "array",
9+
"items": {
10+
"type": "string",
11+
"enum": [
12+
"minecraft:cardinal_connections"
13+
]
14+
},
15+
"uniqueItems": true
1216
}
1317
},
1418
"additionalProperties": false

packages/minecraftBedrock/schema/entity/v1.21.130/components/tameable.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@
1616
"description": "The list of items that can be used to tame this entity.",
1717
"anyOf": [
1818
{
19-
"anyOf": [
20-
{
21-
"type": "array",
22-
"items": {
23-
"$ref": "../../../general/itemDescriptor.json"
24-
}
25-
},
26-
{
27-
"type": "object",
28-
"properties": {
29-
"item": {
30-
"title": "Item",
31-
"$ref": "../../../general/itemDescriptor.json"
32-
},
33-
"result_item": {
34-
"title": "Result Item",
35-
"$ref": "../../../general/reference/identifiers.json#/definitions/item_identifiers"
19+
"type": "array",
20+
"items": {
21+
"anyOf": [
22+
{
23+
"$ref": "../../../general/reference/identifiers.json#/definitions/item_identifiers"
24+
},
25+
{
26+
"type": "object",
27+
"properties": {
28+
"item": {
29+
"title": "Item",
30+
"$ref": "../../../general/itemDescriptor.json"
31+
},
32+
"result_item": {
33+
"title": "Result Item",
34+
"$ref": "../../../general/reference/identifiers.json#/definitions/item_identifiers"
35+
}
3636
}
3737
}
38-
}
39-
]
38+
]
39+
}
4040
},
4141
{
4242
"$ref": "../../../general/reference/identifiers.json#/definitions/item_identifiers"

0 commit comments

Comments
 (0)