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