Создатель быстрых укрытий

This commit is contained in:
Hell13Cat
2022-02-06 03:52:38 +03:00
parent d0a5237914
commit a00f93010b
7 changed files with 92 additions and 9 deletions
@@ -0,0 +1,51 @@
{
"format_version": "1.17.0",
"minecraft:item": {
"description": {
"identifier": "mw_item:fast_bulder",
"category": "construction"
},
"components": {
"minecraft:icon": {
"texture": "mw_item",
"frame": 1
},
"minecraft:display_name": {
"value": "Создатель быстрого укрытия"
},
"minecraft:use_animation": "eat",
"minecraft:hand_equipped": false,
"minecraft:max_stack_size": 64,
"minecraft:foil": false,
"minecraft:food": {
"saturation_modifier": "low",
"nutrition": 4,
"can_always_eat": false,
"remove_effects": [],
"on_consume": {
"event": "mw_alko:effect"
}
},
"minecraft:use_duration": 0.1
},
"events": {
"mw_alko:effect": {
"run_command": {
"command": [
"fill ~-2 ~-1 ~-2 ~+2 ~-1 ~+2 cobblestone",
"fill ~-2 ~-1 ~-2 ~-2 ~+3 ~+2 cobblestone",
"fill ~-2 ~-1 ~-2 ~+2 ~+3 ~-2 cobblestone",
"fill ~+2 ~-1 ~+2 ~-2 ~+3 ~+2 cobblestone",
"fill ~+2 ~-1 ~+2 ~+2 ~+3 ~-2 cobblestone",
"fill ~-2 ~+3 ~-2 ~+2 ~+3 ~+2 cobblestone",
"fill ~ ~ ~-2 ~ ~+1 ~-2 air",
"fill ~-1 ~ ~-1 ~+1 ~+2 ~+1 air",
"setblock ~ ~+2 ~+1 torch",
"setblock ~ ~ ~-2 wooden_door 4",
"titleraw @s title {\"rawtext\":[{\"text\":\"\u0423\u043a\u0440\u044b\u0442\u0438\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043e\"}]}"
]
}
}
}
}
}
+3 -3
View File
@@ -7,7 +7,7 @@
"version": [
0,
4,
0
13
],
"min_engine_version": [
1,
@@ -23,7 +23,7 @@
"version": [
0,
4,
0
13
]
}
],
@@ -33,7 +33,7 @@
"version": [
0,
4,
0
13
]
}
]
@@ -0,0 +1,31 @@
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "mw_item:fast_bulder"
},
"tags": [
"crafting_table"
],
"pattern": [
"@.@",
".-.",
"@.@"
],
"key": {
".": {
"item": "mw_item:diamond_dust"
},
"@": {
"item": "minecraft:cobblestone"
},
"-": {
"item": "minecraft:redstone"
}
},
"result": {
"item": "mw_item:fast_bulder",
"count": 1
}
}
}
+2 -2
View File
@@ -38,11 +38,11 @@ json.dump(datarr, open("resource_pack\manifest.json", "w", encoding='utf-8'), en
zip_name_behavior = 'MWAlkoB'
directory_name_behavior = 'behavior_pack'
shutil.make_archive(zip_name_behavior, 'zip', directory_name_behavior)
shutil.move("MWAlkoB.zip", "MWAlkoB.mcpack")
shutil.move("MWAlkoB.zip", "IMoOB.mcpack")
zip_name_resource = 'MWAlkoR'
directory_name_resource = 'resource_pack'
shutil.make_archive(zip_name_resource, 'zip', directory_name_resource)
shutil.move("MWAlkoR.zip", "MWAlkoR.mcpack")
shutil.move("MWAlkoR.zip", "IMoOR.mcpack")
opeo_file_q = input("""Открыть файлы в Minecraft["+" для открытия]? >""")
if opeo_file_q == "+":
+3 -3
View File
@@ -7,7 +7,7 @@
"version": [
0,
4,
0
13
],
"min_engine_version": [
1,
@@ -23,7 +23,7 @@
"version": [
0,
4,
0
13
]
}
],
@@ -33,7 +33,7 @@
"version": [
0,
4,
0
13
]
}
]
+2 -1
View File
@@ -27,7 +27,8 @@
},
"mw_item": {
"textures": [
"textures/items/item/diamond_dust"
"textures/items/item/diamond_dust",
"textures/items/item/fastbuilder"
]
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B