Фиксы

This commit is contained in:
Hell13Cat
2022-01-25 23:21:42 +03:00
parent 64c3ac11dd
commit caffbe1a34
14 changed files with 50 additions and 28 deletions
@@ -0,0 +1,2 @@
clear @s mw_alko:bottle 0 1
give @s mw_alko:bottle_water 1 0
@@ -0,0 +1 @@
execute @p ~~~ detect ~~~ minecraft:water 0 function flaskTransform
+3
View File
@@ -0,0 +1,3 @@
{
"values": []
}
+18 -2
View File
@@ -1,5 +1,5 @@
{ {
"format_version": "1.16.0", "format_version": "1.17.40",
"minecraft:item": { "minecraft:item": {
"description": { "description": {
"identifier": "mw_alko:bottle", "identifier": "mw_alko:bottle",
@@ -11,10 +11,26 @@
"minecraft:foil": false, "minecraft:foil": false,
"minecraft:stack_by_data": true, "minecraft:stack_by_data": true,
"minecraft:icon": { "minecraft:icon": {
"texture": "mw_alko:bottle" "texture": "mw_alko_bottle"
}, },
"minecraft:display_name": { "minecraft:display_name": {
"value": "Бутылка" "value": "Бутылка"
},
"minecraft:on_use": {
"on_use": {
"target": "self",
"event": "mw_alko:fill"
}
}
},
"events": {
"mw_alko:fill": {
"run_command": {
"command": [
"execute @p ~~~ detect ~~~ minecraft:water 0 function flaskTransform"
],
"target": "holder"
}
} }
} }
} }
+5 -5
View File
@@ -7,12 +7,12 @@
"version": [ "version": [
0, 0,
0, 0,
14 17
], ],
"min_engine_version": [ "min_engine_version": [
1, 1,
16, 17,
0 40
] ]
}, },
"modules": [ "modules": [
@@ -23,7 +23,7 @@
"version": [ "version": [
0, 0,
0, 0,
14 17
] ]
} }
], ],
@@ -33,7 +33,7 @@
"version": [ "version": [
0, 0,
0, 0,
14 17
] ]
} }
] ]
+1 -1
View File
@@ -6,7 +6,7 @@
"category": "Equipment" "category": "Equipment"
}, },
"components": { "components": {
"minecraft:icon": "mw_alko:absent", "minecraft:icon": "mw_alko_absent",
"minecraft:use_animation": "drink", "minecraft:use_animation": "drink",
"minecraft:render_offsets": "miscellaneous" "minecraft:render_offsets": "miscellaneous"
} }
+1 -1
View File
@@ -6,7 +6,7 @@
"category": "Equipment" "category": "Equipment"
}, },
"components": { "components": {
"minecraft:icon": "mw_alko:vodka", "minecraft:icon": "mw_alko_vodka",
"minecraft:use_animation": "drink", "minecraft:use_animation": "drink",
"minecraft:render_offsets": "miscellaneous" "minecraft:render_offsets": "miscellaneous"
} }
+1 -1
View File
@@ -6,7 +6,7 @@
"category": "Equipment" "category": "Equipment"
}, },
"components": { "components": {
"minecraft:icon": "mw_alko:beer", "minecraft:icon": "mw_alko_beer",
"minecraft:use_animation": "drink", "minecraft:use_animation": "drink",
"minecraft:render_offsets": "miscellaneous" "minecraft:render_offsets": "miscellaneous"
} }
+1 -1
View File
@@ -6,7 +6,7 @@
"category": "Equipment" "category": "Equipment"
}, },
"components": { "components": {
"minecraft:icon": "mw_alko:bottle", "minecraft:icon": "mw_alko_bottle",
"minecraft:render_offsets": "miscellaneous" "minecraft:render_offsets": "miscellaneous"
} }
} }
@@ -6,7 +6,7 @@
"category": "Equipment" "category": "Equipment"
}, },
"components": { "components": {
"minecraft:icon": "mw_alko:bottle_water", "minecraft:icon": "mw_alko_bottle_water",
"minecraft:use_animation": "drink", "minecraft:use_animation": "drink",
"minecraft:render_offsets": "miscellaneous" "minecraft:render_offsets": "miscellaneous"
} }
+1 -1
View File
@@ -6,7 +6,7 @@
"category": "Equipment" "category": "Equipment"
}, },
"components": { "components": {
"minecraft:icon": "mw_alko:vine", "minecraft:icon": "mw_alko_vine",
"minecraft:use_animation": "drink", "minecraft:use_animation": "drink",
"minecraft:render_offsets": "miscellaneous" "minecraft:render_offsets": "miscellaneous"
} }
+1 -1
View File
@@ -6,7 +6,7 @@
"category": "Equipment" "category": "Equipment"
}, },
"components": { "components": {
"minecraft:icon": "mw_alko:alcohol", "minecraft:icon": "mw_alko_alcohol",
"minecraft:use_animation": "drink", "minecraft:use_animation": "drink",
"minecraft:render_offsets": "miscellaneous" "minecraft:render_offsets": "miscellaneous"
} }
+5 -5
View File
@@ -7,12 +7,12 @@
"version": [ "version": [
0, 0,
0, 0,
14 17
], ],
"min_engine_version": [ "min_engine_version": [
1, 1,
16, 17,
0 40
] ]
}, },
"modules": [ "modules": [
@@ -23,7 +23,7 @@
"version": [ "version": [
0, 0,
0, 0,
14 17
] ]
} }
], ],
@@ -33,7 +33,7 @@
"version": [ "version": [
0, 0,
0, 0,
14 17
] ]
} }
] ]
+7 -7
View File
@@ -71,25 +71,25 @@
"colorful_gifts": { "colorful_gifts": {
"textures": "textures/items/colorful_gifts" "textures": "textures/items/colorful_gifts"
}, },
"mw_alko:bottle_water": { "mw_alko_bottle_water": {
"textures": "textures/items/pamobile/mw_alko_bottle_water" "textures": "textures/items/pamobile/mw_alko_bottle_water"
}, },
"mw_alko:alcohol": { "mw_alko_alcohol": {
"textures": "textures/items/pamobile/mw_alko_alcohol" "textures": "textures/items/pamobile/mw_alko_alcohol"
}, },
"mw_alko:bottle": { "mw_alko_bottle": {
"textures": "textures/items/pamobile/mw_alko_bottle" "textures": "textures/items/pamobile/mw_alko_bottle"
}, },
"mw_alko:vodka": { "mw_alko_vodka": {
"textures": "textures/items/pamobile/mw_alko_vodka" "textures": "textures/items/pamobile/mw_alko_vodka"
}, },
"mw_alko:vine": { "mw_alko_vine": {
"textures": "textures/items/pamobile/mw_alko_vine" "textures": "textures/items/pamobile/mw_alko_vine"
}, },
"mw_alko:beer": { "mw_alko_beer": {
"textures": "textures/items/pamobile/mw_alko_beer" "textures": "textures/items/pamobile/mw_alko_beer"
}, },
"mw_alko:absent": { "mw_alko_absent": {
"textures": "textures/items/pamobile/mw_alko_absent" "textures": "textures/items/pamobile/mw_alko_absent"
} }
} }