Финальное исправление

This commit is contained in:
Hell13Cat
2022-01-29 20:30:33 +03:00
parent f273633db5
commit 228cc904f0
5 changed files with 63 additions and 61 deletions
+15 -21
View File
@@ -21,30 +21,24 @@
"saturation_modifier": "low",
"nutrition": 4,
"can_always_eat": true,
"effects": [
{
"name": "nausea",
"chance": 1,
"duration": 100,
"amplifier": 0
},
{
"name": "slowness",
"chance": 1,
"duration": 20,
"amplifier": 0
},
{
"name": "strength",
"chance": 1,
"duration": 30,
"amplifier": 1
}
],
"on_consume": {
"event": "mw_alko:effect"
},
"remove_effects": [],
"using_converts_to": "mw_alko:bottle"
},
"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"
]
}
}
}
}
}