diff --git a/locales/en.json b/locales/en.json index 4c68334d..0b19de92 100644 --- a/locales/en.json +++ b/locales/en.json @@ -130,7 +130,8 @@ "copy_name": "Copy Name", "copy_nbt": "Copy NBT", "apply_bonus": "Apply Bonus", - "exploration_map": "Exploration Map Properties" + "exploration_map": "Exploration Map Properties", + "set_stew_effect": "Set Stew Effect" }, "type": "Function", "count": "Count", @@ -146,7 +147,6 @@ "source": "Source", "replace": "Replace", "enchantments": "Optional Enchantments", - "operation_add": "Add Operation", "enchantment": "Enchantment", "formula": "Formula", "$formula": { @@ -271,6 +271,10 @@ "ambient": "Ambient", "visible": "Visible" }, + "$potion_effect": { + "type": "Effect", + "duration": "Duration" + }, "$item": { "name": "Item ID", "tag": "Item Tag", @@ -287,8 +291,9 @@ "entry_add": "Add Entry", "function_add": "Add Function", "attribute_modifier_add": "Add Modifier", - "operation_add": "Add Operation", + "nbt_operation_add": "Add Operation", "pool_add": "Add Pool", + "potion_effect_add": "Add Effect", "term_add": "Add Term", "author": "by Misode", "copy": "Copy", @@ -304,8 +309,9 @@ "error": "Error", "function_remove": "Remove Function", "attribute_modifier_remove": "Remove Modifier", - "operation_remove": "Remove Operation", + "nbt_operation_remove": "Remove Operation", "pool_remove": "Remove Pool", + "potion_effect_remove": "Remove Effect", "term_remove": "Remove Term", "share": "Share", "show_source": "Show Source", diff --git a/locales/ru.json b/locales/ru.json index 1a2c33b2..8999af85 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -144,7 +144,6 @@ "source": "Источник", "replace": "Заменить старое", "enchantments": "Чары", - "operation_add": "Добавить действие", "enchantment": "Чары", "formula": "Формула", "$formula": { @@ -263,7 +262,7 @@ "entry_add": "Добавить запись", "function_add": "Добавить функцию", "attribute_modifier_add": "Добавить модификатор", - "operation_add": "Добавить действие", + "nbt_operation_add": "Добавить действие", "pool_add": "Добавить пул", "term_add": "Добавить выражение", "author": "Автор: Misode", @@ -279,7 +278,7 @@ "entry_remove": "Удалить запись", "function_remove": "Удалить функцию", "attribute_modifier_remove": "Удалить модификатор", - "operation_remove": "Удалить действие", + "nbt_operation_remove": "Удалить действие", "pool_remove": "Удалить пул", "term_remove": "Удалить выражение", "share": "Поделиться", diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 3d609f7f..9699652f 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -144,7 +144,6 @@ "source": "源", "replace": "覆盖", "enchantments": "可选附魔", - "operation_add": "添加操作", "enchantment": "附魔", "formula": "公式", "$formula": { @@ -268,7 +267,7 @@ "entry_add": "添加项目", "function_add": "添加函数", "modifier_add": "添加属性修饰器", - "operation_add": "添加操作", + "nbt_operation_add": "添加操作", "pool_add": "添加随机池", "term_add": "添加条件", "author": "作者 @Misode", @@ -284,7 +283,7 @@ "entry_remove": "移除项目", "function_remove": "移除函数", "modifier_remove": "移除属性修饰器", - "operation_remove": "移除操作", + "nbt_operation_remove": "移除操作", "pool_remove": "移除随机池", "term_remove": "移除条件", "share": "分享", diff --git a/schemas/1.14.json b/schemas/1.14.json index ac46af6c..89cf0e41 100644 --- a/schemas/1.14.json +++ b/schemas/1.14.json @@ -175,7 +175,8 @@ "minecraft:copy_name", "minecraft:copy_nbt", "minecraft:apply_bonus", - "minecraft:exploration_map" + "minecraft:exploration_map", + "minecraft:set_stew_effect" ] }, { @@ -295,6 +296,16 @@ "minecraft:exploration_map" ] }, + { + "id": "effects", + "type": "array", + "translate": "potion_effect", + "button": "field", + "values": "potion_effect", + "require": [ + "minecraft:set_stew_effect" + ] + }, { "id": "entity", "type": "enum", @@ -360,7 +371,7 @@ { "id": "ops", "type": "array", - "translate": "$function.operation", + "translate": "nbt_operation", "button": "field", "values": "nbt_operation", "require": [ @@ -894,6 +905,23 @@ } ] }, + { + "id": "potion_effect", + "type": "object", + "color": "dark", + "fields": [ + { + "id": "type", + "type": "string", + "translate": "$potion_effect.type" + }, + { + "id": "duration", + "type": "range", + "translate": "$potion_effect.duration" + } + ] + }, { "id": "item", "type": "object",