Updated
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.chicken": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": ["@s machine.click", "/tag @a add Something"],
|
||||
"transitions": [{ "transition": "variable.attack_time && query.anim_time > 0" }]
|
||||
},
|
||||
"transition": {
|
||||
"animations": ["idle"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"format_version" : "1.10.0",
|
||||
"animation_controllers" : {
|
||||
"controller.animation.sheep.walk.example" : {
|
||||
"initial_state" : "default",
|
||||
"states" : {
|
||||
"default" : {
|
||||
"animations" : [ "default_animation" ],
|
||||
"transitions" : [
|
||||
{ "state_1" : "query.is_baby" }
|
||||
]
|
||||
},
|
||||
"state_1" : {
|
||||
"animations" : [ "state_animation" ],
|
||||
"on_entry": ["@s example:foor", "variable.foo = query.average_frame_time;", "/tp @s ~ ~ ~"],
|
||||
"on_exit": ["/tp @s ~ ~2 ~"],
|
||||
"transitions" : [
|
||||
{ "default" : "!query.is_baby" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": "1.8.0",
|
||||
"animations": {
|
||||
"animation.sheep.run": {
|
||||
"loop": false,
|
||||
"timeline": {
|
||||
"0.0": ["/tag @a[tag=Killing,scores={test=!0..10},c=1] add Killing"],
|
||||
"1.36": ["/tp @s ~ -40 ~", "/kill @s", "/tag @a[tag=Killing,scores={test=!0..10}] add Killing"]
|
||||
},
|
||||
"animation_length": 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
16
test/files/correct/data_bp/blocks/master.block.json
Normal file
16
test/files/correct/data_bp/blocks/master.block.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": "1.16.200",
|
||||
"minecraft:block": {
|
||||
"description": {
|
||||
"identifier": "namespace:block",
|
||||
"properties": {}
|
||||
},
|
||||
"components": {},
|
||||
"events": {
|
||||
"minecraft:on_fall_on": {
|
||||
"add_mob_effect": {},
|
||||
"sequence": [{ "die": {} }]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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": {
|
||||
}
|
||||
}
|
||||
}
|
||||
3
test/files/correct/data_bp/functions/tick.json
Normal file
3
test/files/correct/data_bp/functions/tick.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"values": ["gameplay/world_tick"]
|
||||
}
|
||||
10
test/files/correct/data_bp/items/master_block.item.json
Normal file
10
test/files/correct/data_bp/items/master_block.item.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"minecraft:item": {
|
||||
"description": {
|
||||
"identifier": "master_block"
|
||||
},
|
||||
"components": {
|
||||
}
|
||||
}
|
||||
}
|
||||
14
test/files/correct/data_bp/items/test.item.json
Normal file
14
test/files/correct/data_bp/items/test.item.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.16.200",
|
||||
"minecraft:item": {
|
||||
"description": {
|
||||
"identifier": "namespace:item"
|
||||
},
|
||||
"components": {
|
||||
"minecraft:armor": {
|
||||
"protection": 0,
|
||||
"texture_type": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:written_book",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_book_contents",
|
||||
"author": "both.name",
|
||||
"title": "book.j1.title",
|
||||
"pages": [
|
||||
"{\"rawtext\":[ {\"translate\":\"book.journal1.page1\",\"with\": [ \"\\n\" ] } ] }",
|
||||
"{\"rawtext\":[ {\"translate\":\"book.journal1.page2\",\"with\": [ \"\\n\" ] } ] }",
|
||||
"{\"rawtext\":[ {\"translate\":\"book.journal1.page3\",\"with\": [ \"\\n\" ] } ] }"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
14
test/files/correct/data_bp/loot_tables/master_blockloot.json
Normal file
14
test/files/correct/data_bp/loot_tables/master_blockloot.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:potato",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
31
test/files/correct/data_bp/texts/languages.json
Normal file
31
test/files/correct/data_bp/texts/languages.json
Normal file
@@ -0,0 +1,31 @@
|
||||
[
|
||||
"en_US",
|
||||
"en_GB",
|
||||
"de_DE",
|
||||
"es_ES",
|
||||
"es_MX",
|
||||
"fr_FR",
|
||||
"fr_CA",
|
||||
"it_IT",
|
||||
"ja_JP",
|
||||
"ko_KR",
|
||||
"pt_BR",
|
||||
"pt_PT",
|
||||
"ru_RU",
|
||||
"zh_CN",
|
||||
"zh_TW",
|
||||
"nl_NL",
|
||||
"bg_BG",
|
||||
"cs_CZ",
|
||||
"da_DK",
|
||||
"el_GR",
|
||||
"fi_FI",
|
||||
"hu_HU",
|
||||
"id_ID",
|
||||
"nb_NO",
|
||||
"pl_PL",
|
||||
"sk_SK",
|
||||
"sv_SE",
|
||||
"tr_TR",
|
||||
"uk_UA"
|
||||
]
|
||||
5
test/files/correct/data_rp/sounds.json
Normal file
5
test/files/correct/data_rp/sounds.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"entity_sounds": {
|
||||
"entities": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user