Список изменений
Undo MOD Update Content
-
Internationalization (i18n) Support Function Description Language files add en_us.json and zh_cn.json, enabling Chinese and English switching. Key Conventions Undo / Redo remains in English across all languages; other Chinese interface elements use Chinese. Implementation Method UI texts are dynamically rendered via Text.translatable().
-
Client Configuration Persistence • Added UndoClientConfig.java to save the following settings to undo-mod-client.json: • Mode Switching (BLOCK_ONLY / FULL) • Side Mouse Button Toggle • HUD Display Position • Settings are automatically restored after game restart.
-
Entity & Item Undo Function • Added EntitySpawnMixin to capture entity spawn events and support entity undo. • Fixed the undo logic for item usage.
-
UI Visual Fixes • Changed the background of the settings interface, help interface and history interface to fully opaque (0xFF_) to resolve interface overlapping issues.
-
Side Mouse Button Fixes • Fixed the issue where InputUtil.isKeyPressed did not work for mouse buttons. • Adopted GLFW.glfwGetMouseButton to correctly detect mouse forward/backward buttons. • Fixed state synchronization issues to prevent false triggers on the first key press.

