## 中文
# GUITween 3.4.1 更新日志(Minecraft 26.2)
更新时间:2026-09-05
## 新增功能
- **窗口关闭动画全面重做**
- 关闭动画现在从窗口「居中且完全可见」的状态开始,通过独立的“移动 + 渐隐”两阶段播放,不再简单反向播放打开动画,表现更自然顺滑。
- 关闭动画改用独立的计时系统,按真实帧推进,时长稳定、不再受帧率影响而忽快忽慢。
- **新增可独立细调的关闭动画配置**(替代旧的单一「关闭动画速度」选项)
- 关闭窗口移动:可分别设置时长、缓动曲线、X / Y 偏移。
- 关闭窗口渐隐:可分别设置时长与缓动曲线。
- **JEI 面板设置统一,并支持关闭时滑出**
- 原「JEI 左侧 / 右侧」两套移动参数合并为一套「JEI 滑动」参数;X 偏移只需按 JEI 位于左侧时的方向填写,右侧面板会自动镜像,配置更简洁。
- 新增「关闭时 JEI 滑动」独立参数(时长、缓动、X / Y 偏移),关闭界面时 JEI 面板会同步向外滑出。
- **界面背景遮罩平滑淡入淡出**
- 容器界面打开时,背后半透明黑色遮罩随窗口动画从透明平滑淡入;关闭时也同步淡出,不再瞬间闪变或残留。
- **关闭动画期间可继续操控角色**
- 关闭动画播放期间鼠标会被像游戏中一样捕获,可以正常转动视角、移动角色与滚动物品栏,界面残留状态不再阻塞输入。
## 修复内容
- 修复 JEI 收藏夹 / 物品列表面板在动画中背景不跟随移动、与前景内容错位分离的问题(背景与前景现在同步参与动画)。
- 修复 NeoForge 下关闭动画期间移动按键被「按键冲突上下文」判定为未按下、导致角色无法移动的问题。
- 修复关闭动画期间鼠标输入仍被界面截获、无法正常转动视角的问题。
- 修复窗口开启动画时背景遮罩瞬间出现、关闭动画时遮罩残留的问题。
- 动画风格预设已适配新选项:简单风格现在会一并应用关闭窗口 / 关闭 JEI 动画的缓动曲线(OUT_QUART)。
## 配置变更说明
- 「关闭动画速度」已移除,替换为「关闭窗口移动时长 / 移动曲线 / 移动 X / 移动 Y」与「关闭窗口渐隐时长 / 渐隐曲线」。
- JEI 动画由左右两套参数合并为「JEI 滑动」一套,右侧 X 自动取反镜像;原左右对称配置可直接沿用,无需重复填写。
## English
# GUITween 3.4.1 Changelog (Minecraft 26.2)
Update Date: 2026-09-05
## New Features
- **Window Close Animation Reworked**
- The close animation now starts from a centered, fully visible window and plays through two independent phases — movement and fade-out — instead of simply replaying the open animation in reverse.
- Close animations use their own timing, driven by real frames, so playback is stable and no longer speeds up or stutters with frame-rate fluctuations.
- **New Independent, Fine-Grained Close Animation Options** (replacing the old single "Close Animation Speed" setting)
- Close Window Move: duration, easing curve, and X / Y offsets can be configured separately.
- Close Window Fade: duration and easing curve can be configured separately.
- **Unified JEI Panel Settings with Close Slide**
- The former separate "JEI Left / Right" animation parameters are merged into one "JEI Slide" setting; enter the X offset for when JEI is on the left, and the right panel is mirrored automatically.
- Added independent "Close JEI Slide" options (duration, easing, X / Y offsets) so JEI panels slide out together when the screen closes.
- **Smooth Background Overlay Fade**
- The translucent dark overlay behind container screens now fades in smoothly with the window open animation and fades out when closing, eliminating abrupt flashes or leftover dimming.
- **Keep Controlling Your Character During Close Animation**
- While the close animation is playing, the mouse is grabbed as if in-game, allowing you to look around, move, and scroll normally; leftover screen state no longer blocks input.
## Fixes
- Fixed JEI bookmark / ingredient list panels where the background did not follow the animation, causing misalignment with the foreground content (background and foreground now animate together).
- Fixed character movement keys being ignored during the close animation on NeoForge, where the key conflict context treated them as not pressed.
- Fixed mouse input being captured by the screen during the close animation, preventing normal camera look.
- Fixed the background overlay appearing instantly when opening a window and lingering when closing it.
- Animation style presets now cover the new options: the Simple style also applies OUT_QUART easing to the close window / close JEI animations.
## Config Changes
- The "Close Animation Speed" option has been removed and replaced by "Close Window Move Duration / Move Easing / Move X / Move Y" plus "Close Window Fade Duration / Fade Easing".
- JEI settings have been merged from separate left/right parameters into a single "JEI Slide" set; the right side automatically mirrors X. Symmetric left/right setups keep working as before without extra configuration.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }