From 3896d3a37937801936bf4f722c73350d64eaf4f5 Mon Sep 17 00:00:00 2001 From: Hell13Cat <46496367+Hell13Cat@users.noreply.github.com> Date: Thu, 10 Feb 2022 23:17:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=86=D0=B5=D0=BF=D1=82=20=D1=82?= =?UTF-8?q?=D1=83=D1=80=D0=B5=D0=BB=D0=B8=20=D0=B8=20=D0=BD=D0=B0=D0=B7?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- behavior_pack/items/imoo_turel_del.json | 12 +++------ behavior_pack/manifest.json | 6 ++--- behavior_pack/recipes/imoo_turel_add.json | 30 +++++++++++++++++++++++ behavior_pack/recipes/imoo_turel_del.json | 27 ++++++++++++++++++++ resource_pack/manifest.json | 6 ++--- resource_pack/texts/en_US.lang | 5 +++- resource_pack/texts/ru_RU.lang | 3 +++ 7 files changed, 74 insertions(+), 15 deletions(-) create mode 100644 behavior_pack/recipes/imoo_turel_add.json create mode 100644 behavior_pack/recipes/imoo_turel_del.json diff --git a/behavior_pack/items/imoo_turel_del.json b/behavior_pack/items/imoo_turel_del.json index f46b5d4..a328c92 100644 --- a/behavior_pack/items/imoo_turel_del.json +++ b/behavior_pack/items/imoo_turel_del.json @@ -12,19 +12,15 @@ }, "minecraft:use_animation": "drink", "minecraft:hand_equipped": false, - "minecraft:max_stack_size": 64, + "minecraft:max_stack_size": 1, "minecraft:foil": false, "minecraft:food": { - "saturation_modifier": "low", - "nutrition": 4, "can_always_eat": true, - "remove_effects": [], "on_consume": { - "event": "imoo:turel_del" - }, - "using_converts_to": "mw_alko:bottle" + "event": "imoo:turel_dell" + } }, - "minecraft:use_duration": 0.1 + "minecraft:use_duration": 2 }, "events": { "imoo:turel_dell": { diff --git a/behavior_pack/manifest.json b/behavior_pack/manifest.json index 42a91a5..ba90478 100644 --- a/behavior_pack/manifest.json +++ b/behavior_pack/manifest.json @@ -7,7 +7,7 @@ "version": [ 0, 5, - 21 + 27 ], "min_engine_version": [ 1, @@ -23,7 +23,7 @@ "version": [ 0, 5, - 21 + 27 ] } ], @@ -33,7 +33,7 @@ "version": [ 0, 5, - 21 + 27 ] } ] diff --git a/behavior_pack/recipes/imoo_turel_add.json b/behavior_pack/recipes/imoo_turel_add.json new file mode 100644 index 0000000..d822330 --- /dev/null +++ b/behavior_pack/recipes/imoo_turel_add.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "imoo:turel_spawn_egg" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#.#", + ".|.", + "#.#" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + }, + "|": { + "item": "minecraft:redstone" + }, + ".": { + "item": "mw_item:diamond_dust" + } + }, + "result": { + "item": "imoo:turel_spawn_egg" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/imoo_turel_del.json b/behavior_pack/recipes/imoo_turel_del.json new file mode 100644 index 0000000..ecf1360 --- /dev/null +++ b/behavior_pack/recipes/imoo_turel_del.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "imoo:turel_del" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "|#|", + "#|#", + "|#|" + ], + "key": { + "#": { + "item": "minecraft:cobblestone" + }, + "|": { + "item": "minecraft:redstone" + } + }, + "result": { + "item": "imoo:turel_del" + } + } + } \ No newline at end of file diff --git a/resource_pack/manifest.json b/resource_pack/manifest.json index 0167420..80c9324 100644 --- a/resource_pack/manifest.json +++ b/resource_pack/manifest.json @@ -7,7 +7,7 @@ "version": [ 0, 5, - 21 + 27 ], "min_engine_version": [ 1, @@ -23,7 +23,7 @@ "version": [ 0, 5, - 21 + 27 ] } ], @@ -33,7 +33,7 @@ "version": [ 0, 5, - 21 + 27 ] } ] diff --git a/resource_pack/texts/en_US.lang b/resource_pack/texts/en_US.lang index 479a901..a908817 100644 --- a/resource_pack/texts/en_US.lang +++ b/resource_pack/texts/en_US.lang @@ -5,4 +5,7 @@ tile.imoo:grave_1.name=Grave stone tile.imoo:grave_2.name=Grave cross tile.imoo:grave_3.name=Gravestone item.spawn_egg.entity.imoo:sfw.name=Create a fluffy -entity.imoo:sfw.name=Fluffy \ No newline at end of file +entity.imoo:sfw.name=Fluffy +item.spawn_egg.entity.imoo:turel.name=Install turret +item.imoo:turel_del=Remove turret +entity.imoo:turel.name=Turret \ No newline at end of file diff --git a/resource_pack/texts/ru_RU.lang b/resource_pack/texts/ru_RU.lang index 36222b8..eada2b1 100644 --- a/resource_pack/texts/ru_RU.lang +++ b/resource_pack/texts/ru_RU.lang @@ -6,3 +6,6 @@ tile.imoo:grave_2.name=Могильный крест tile.imoo:grave_3.name=Могильная плита item.spawn_egg.entity.imoo:sfw.name=Создать пушистика entity.imoo:sfw.name=Пушистик +item.spawn_egg.entity.imoo:turel.name=Установить турель +item.imoo:turel_del=Убрать турель +entity.imoo:turel.name=Турель \ No newline at end of file