合成计划高亮提示使用自身翻译键,避免受eae版本迭代影响

This commit is contained in:
C-H716 2025-11-01 00:57:07 +08:00
parent 92428e8fd2
commit 24f04c6c8e
3 changed files with 6 additions and 2 deletions

View File

@ -171,9 +171,10 @@ public class CraftingMonitorOpenProviderC2SPacket {
// 聊天提示
player.displayClientMessage(
Component.translatable(
"chat.ex_pattern_access_terminal.pos",
"chat.extendedae_plus.terminal.pos",
pbe.getBlockPos().toShortString(),
pbe.getLevel().dimension().location().getPath()
pbe.getLevel().dimension().location().getPath(),
(int) Math.sqrt(player.blockPosition().distSqr(host.getBlockEntity().getBlockPos()))
),
false
);

View File

@ -52,6 +52,8 @@
"extendedae_plus.upload_to_matrix.fail_full": "The assembly matrix pattern inventory is full or cannot insert",
"extendedae_plus.upload_to_matrix.repetition": "The Assembly Matrix already contains the same pattern. Upload skipped and blank pattern returned.",
"chat.extendedae_plus.terminal.pos": "The crafting plan's corresponding provider is now highlighted at: %s, Dimension: %s (%s blocks away)",
"extendedae_plus.screen.reload_mapping": "Reload Mapping",
"extendedae_plus.screen.reload_mapping_success": "Overloading mapping successful",
"extendedae_plus.screen.reload_mapping_fail": "Overloading mapping failed: %s",

View File

@ -52,6 +52,7 @@
"extendedae_plus.upload_to_matrix.fail_full": "装配矩阵的样板仓已满或无法插入",
"extendedae_plus.upload_to_matrix.repetition": "装配矩阵已存在相同样板,已跳过上传并返还空白样板",
"chat.extendedae_plus.terminal.pos": "合成计划对应供应器现在突出显示在:%s维度%s (%s个方块外)",
"extendedae_plus.screen.reload_mapping": "重载映射",
"extendedae_plus.screen.reload_mapping_success": "重载映射成功",