Финальное исправление
This commit is contained in:
@@ -48,10 +48,25 @@
|
|||||||
"amplifier": 0
|
"amplifier": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"on_consume": {
|
||||||
|
"event": "mw_alko:effect"
|
||||||
|
},
|
||||||
"remove_effects": [],
|
"remove_effects": [],
|
||||||
"using_converts_to": "mw_alko:bottle"
|
"using_converts_to": "mw_alko:bottle"
|
||||||
},
|
},
|
||||||
"minecraft:use_duration": 3
|
"minecraft:use_duration": 2
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"mw_alko:effect": {
|
||||||
|
"run_command": {
|
||||||
|
"command": [
|
||||||
|
"effect @s nausea 300 3 true",
|
||||||
|
"effect @s slowness 60 1 true",
|
||||||
|
"effect @s strength 90 1 true",
|
||||||
|
"effect @s poison 4 2 true"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -21,30 +21,24 @@
|
|||||||
"saturation_modifier": "low",
|
"saturation_modifier": "low",
|
||||||
"nutrition": 4,
|
"nutrition": 4,
|
||||||
"can_always_eat": true,
|
"can_always_eat": true,
|
||||||
"effects": [
|
"on_consume": {
|
||||||
{
|
"event": "mw_alko:effect"
|
||||||
"name": "nausea",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 120,
|
|
||||||
"amplifier": 0
|
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "slowness",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 30,
|
|
||||||
"amplifier": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "poison",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 4,
|
|
||||||
"amplifier": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"remove_effects": [],
|
"remove_effects": [],
|
||||||
"using_converts_to": "mw_alko:bottle"
|
"using_converts_to": "mw_alko:bottle"
|
||||||
},
|
},
|
||||||
"minecraft:use_duration": 3
|
"minecraft:use_duration": 3
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"mw_alko:effect": {
|
||||||
|
"run_command": {
|
||||||
|
"command": [
|
||||||
|
"effect @s nausea 120 0 true",
|
||||||
|
"effect @s poison 4 1 true",
|
||||||
|
"effect @s slowness 30 0 true"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -26,14 +26,14 @@
|
|||||||
},
|
},
|
||||||
"using_converts_to": "mw_alko:bottle"
|
"using_converts_to": "mw_alko:bottle"
|
||||||
},
|
},
|
||||||
"minecraft:use_duration": 3
|
"minecraft:use_duration": 2
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"mw_alko:effect": {
|
"mw_alko:effect": {
|
||||||
"run_command": {
|
"run_command": {
|
||||||
"command": [
|
"command": [
|
||||||
"effect @s nausea 80 0 true",
|
"effect @s nausea 80 0 true",
|
||||||
"effect @s nausea 20 0 true"
|
"effect @s strength 20 0 true"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,24 +21,23 @@
|
|||||||
"saturation_modifier": "normal",
|
"saturation_modifier": "normal",
|
||||||
"nutrition": 4,
|
"nutrition": 4,
|
||||||
"can_always_eat": true,
|
"can_always_eat": true,
|
||||||
"effects": [
|
"on_consume": {
|
||||||
{
|
"event": "mw_alko:effect"
|
||||||
"name": "nausea",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 80,
|
|
||||||
"amplifier": 0
|
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "strength",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 20,
|
|
||||||
"amplifier": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"remove_effects": [],
|
"remove_effects": [],
|
||||||
"using_converts_to": "mw_alko:bottle"
|
"using_converts_to": "mw_alko:bottle"
|
||||||
},
|
},
|
||||||
"minecraft:use_duration": 3
|
"minecraft:use_duration": 3
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"mw_alko:effect": {
|
||||||
|
"run_command": {
|
||||||
|
"command": [
|
||||||
|
"effect @s nausea 80 0 true",
|
||||||
|
"effect @s strength 20 0 true"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -21,30 +21,24 @@
|
|||||||
"saturation_modifier": "low",
|
"saturation_modifier": "low",
|
||||||
"nutrition": 4,
|
"nutrition": 4,
|
||||||
"can_always_eat": true,
|
"can_always_eat": true,
|
||||||
"effects": [
|
"on_consume": {
|
||||||
{
|
"event": "mw_alko:effect"
|
||||||
"name": "nausea",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 100,
|
|
||||||
"amplifier": 0
|
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "slowness",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 20,
|
|
||||||
"amplifier": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "strength",
|
|
||||||
"chance": 1,
|
|
||||||
"duration": 30,
|
|
||||||
"amplifier": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"remove_effects": [],
|
"remove_effects": [],
|
||||||
"using_converts_to": "mw_alko:bottle"
|
"using_converts_to": "mw_alko:bottle"
|
||||||
},
|
},
|
||||||
"minecraft:use_duration": 3
|
"minecraft:use_duration": 3
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"mw_alko:effect": {
|
||||||
|
"run_command": {
|
||||||
|
"command": [
|
||||||
|
"effect @s nausea 100 0 true",
|
||||||
|
"effect @s strength 30 0 true",
|
||||||
|
"effect @s slowness 20 0 true"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user