diff --git a/src/main/java/carpet/logging/portalCache/PortalCacheLogger.java b/src/main/java/carpet/logging/portalCache/PortalCacheLogger.java index 311757d5..3a120710 100644 --- a/src/main/java/carpet/logging/portalCache/PortalCacheLogger.java +++ b/src/main/java/carpet/logging/portalCache/PortalCacheLogger.java @@ -76,9 +76,12 @@ public void onPortalCacheAdded(World dstWorld, ChunkPos pos, BlockPos target, lo this.log(() -> new ITextComponent[]{Messenger.c( Messenger.hover( Messenger.s("[+] ", TextFormatting.GREEN), - advTr("added_hover", "Now Time: %s\nEntity: %s", nowTime, Messenger.entity(entity)) + advTr("added_hover", "Now Time: %s\nEntity: %s (%s)", nowTime, Messenger.entity(entity), Messenger.entityType(entity)) + ), + Messenger.hover( + Messenger.format("(%s) ", Messenger.dimension(dstWorld)), + advTr("destination_dimension", "Destination dimension: %s", Messenger.dimension(dstWorld)) ), - Messenger.format("(%s) ", Messenger.dimension(dstWorld)), advTr( "added", "Portal Cache added: %s -> %s", posRange(dstWorld, pos), @@ -94,7 +97,10 @@ public void onPortalCacheDeleted(World dstWorld, ChunkPos pos, BlockPos target, Messenger.s("[-] ", TextFormatting.RED), advTr("deleted_hover", "Now Time: %s\nLast Update: %s", nowTime, lastUpdateTime) ), - Messenger.format("(-> %s) ", Messenger.dimension(dstWorld)), + Messenger.hover( + Messenger.format("(%s) ", Messenger.dimension(dstWorld)), + advTr("destination_dimension", "Destination dimension: %s", Messenger.dimension(dstWorld)) + ), advTr( "deleted", "Portal Cache deleted: %s -> %s", posRange(dstWorld, pos), diff --git a/src/main/resources/assets/carpet/lang/zh_cn.yml b/src/main/resources/assets/carpet/lang/zh_cn.yml index f7b2fbac..fb0ae6d7 100644 --- a/src/main/resources/assets/carpet/lang/zh_cn.yml +++ b/src/main/resources/assets/carpet/lang/zh_cn.yml @@ -597,6 +597,7 @@ logger: 当前时间: %s 上次缓存更新时间: %s range: '%s中的对应范围:' + destination_dimension: '传送目标维度: %s' raid_invalidate_reason: difficulty_peaceful: 难度被设为和平