Фиксы
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"format_version": "1.17.40",
|
||||
"minecraft:item": {
|
||||
"description": {
|
||||
"identifier": "mw_alko:bottle",
|
||||
@@ -11,11 +11,27 @@
|
||||
"minecraft:foil": false,
|
||||
"minecraft:stack_by_data": true,
|
||||
"minecraft:icon": {
|
||||
"texture": "mw_alko:bottle"
|
||||
"texture": "mw_alko_bottle"
|
||||
},
|
||||
"minecraft:display_name": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user