Fixing/item descriptors (#122)

* Adding correct samples, but know to fail

* Renamed

* Updated validator
This commit is contained in:
Daan Verstraten
2022-10-06 21:32:49 +02:00
committed by GitHub
parent 15fccdad64
commit bcc47d1f41
8 changed files with 193 additions and 93 deletions

View File

@@ -0,0 +1,23 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:sheep",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:behavior.tempt": {
"priority": 4,
"speed_multiplier": 1.25,
"items": [
"wheat",
{
"tags": "query.any_tag('minecraft:is_tool')"
}
]
}
}
}
}

View File

@@ -0,0 +1,28 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:sheep",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:equippable": {
"slots": [
{
"accepted_items": [
{
"tags": "query.any_tag('minecraft:is_tool')"
}
],
"item": {
"tags": "query.any_tag('minecraft:is_tool')"
},
"slot": 0
}
]
}
}
}
}