This commit is contained in:
DaanV2
2021-08-18 21:34:55 +02:00
parent 08de234cad
commit fb2f6e2b75
16 changed files with 289 additions and 0 deletions

View File

@@ -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"]
}
}
}
}
}

View File

@@ -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" }
]
}
}
}
}
}

View File

@@ -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
}
}
}

View 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": {} }]
}
}
}
}

View 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": {}
}
}

View 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": {
}
}
}

View 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"]}
}
}
}
}

View 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": {
}
}
}

View 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": {
}
}
}

View File

@@ -0,0 +1,3 @@
{
"values": ["gameplay/world_tick"]
}

View File

@@ -0,0 +1,10 @@
{
"format_version": "1.10.0",
"minecraft:item": {
"description": {
"identifier": "master_block"
},
"components": {
}
}
}

View File

@@ -0,0 +1,14 @@
{
"format_version": "1.16.200",
"minecraft:item": {
"description": {
"identifier": "namespace:item"
},
"components": {
"minecraft:armor": {
"protection": 0,
"texture_type": ""
}
}
}
}

View File

@@ -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\" ] } ] }"
]
}
]
}
]
}
]
}

View File

@@ -0,0 +1,14 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:potato",
"weight": 1
}
]
}
]
}

View 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"
]

View File

@@ -0,0 +1,5 @@
{
"entity_sounds": {
"entities": {}
}
}