File tree Expand file tree Collapse file tree
packages/minecraftBedrock/schema
entity/v1.21.130/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments