Фиксы
This commit is contained in:
@@ -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
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"values": []
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user