Updated
This commit is contained in:
15
test/files/correct/data_bp/entities/dragon.entity.json
Normal file
15
test/files/correct/data_bp/entities/dragon.entity.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "blockception:dragon",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true
|
||||
},
|
||||
"component_groups": {},
|
||||
"components": {
|
||||
"minecraft:health": { "value": 10, "max": 10 }
|
||||
},
|
||||
"events": {}
|
||||
}
|
||||
}
|
||||
17
test/files/correct/data_bp/entities/dragon_born.entity.json
Normal file
17
test/files/correct/data_bp/entities/dragon_born.entity.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "blockception:dragon_born",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true
|
||||
},
|
||||
"component_groups": {
|
||||
},
|
||||
"components": {
|
||||
"minecraft:health": { "value": 10, "max": 10 }
|
||||
},
|
||||
"events": {
|
||||
}
|
||||
}
|
||||
}
|
||||
52
test/files/correct/data_bp/entities/example.chicken.json
Normal file
52
test/files/correct/data_bp/entities/example.chicken.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "example:chicken",
|
||||
"animations": {
|
||||
"controller": "controller.animation.chicken",
|
||||
"something": "controller.i.dont.exist"
|
||||
},
|
||||
"scripts": {
|
||||
"animate": ["controller"]
|
||||
}
|
||||
},
|
||||
"component_groups": {},
|
||||
"components": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"add_items": { "table": "loot_tables/entities/vending.machine.json" },
|
||||
"play_sounds": "random.levelup",
|
||||
"use_item": true,
|
||||
"swing": true,
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "value": "player" },
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "minecraft:gold_nugget" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "value": "player" },
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "operator": "not", "value": "minecraft:gold_nugget" }
|
||||
]
|
||||
},
|
||||
"event": "no_gold"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"no_gold": {
|
||||
"add": { "component_groups": ["example:non_existing"]}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
17
test/files/correct/data_bp/entities/sheep.entity.json
Normal file
17
test/files/correct/data_bp/entities/sheep.entity.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "blockception:sheep",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true
|
||||
},
|
||||
"component_groups": {
|
||||
},
|
||||
"components": {
|
||||
"minecraft:health": { "value": 10, "max": 10 }
|
||||
},
|
||||
"events": {
|
||||
}
|
||||
}
|
||||
}
|
||||
16
test/files/correct/data_bp/entities/sheep.json
Normal file
16
test/files/correct/data_bp/entities/sheep.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "blockception:sheep",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true
|
||||
},
|
||||
"component_groups": {
|
||||
},
|
||||
"components": {
|
||||
},
|
||||
"events": {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user