Fixing/item descriptors (#122)
* Adding correct samples, but know to fail * Renamed * Updated validator
This commit is contained in:
23
test/files/correct/data_bp/entities/behavior_tempt.json
vendored
Normal file
23
test/files/correct/data_bp/entities/behavior_tempt.json
vendored
Normal 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')"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
28
test/files/correct/data_bp/entities/equippable.json
vendored
Normal file
28
test/files/correct/data_bp/entities/equippable.json
vendored
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user