feimamovemod-forge-1.20.1-1.0.0-alpha-2.jar
Curse Maven Snippet
What's new
Added
- Added
SlideClientHelperto isolate client-side class references (Minecraft/LocalPlayer) out ofSlideAction, preventing client class loading on DedicatedServer. - 新增
SlideClientHelper工具类,将Minecraft/LocalPlayer的引用从SlideAction双端公共类中抽离,避免服务端加载时触发客户端类解析。
Fixed
- Added
value = Dist.DEDICATED_SERVERtoSlideJumpHandlerto avoid overlap between client-sideLivingJumpEventand theClientInputHandleredge-detection path. - Added
isPassenger/isSleeping/isFallFlying/isInWater/isInLavachecks toCrawlAction.canStartto prevent pose conflicts withPose.SWIMMINGwhen crawling in water. - Moved the
CrawlAction.forcePoseinjection point fromTAILtoHEAD+cancellable;forcePosenow returnsbooleanto take over vanilla logic and only refresh the hitbox when the pose actually changes. - Wrapped the pose transform in
StaminaDisplaywithtry { ... } finally { pose.popPose(); }to fix a GUI matrix leak. - Added state cleanup for
Clone/Respawn/ChangedDimensionevents inPlayerCleanupHandler. - Switched
NetworkHandlertoNetworkRegistry.acceptMissingOr(PROTOCOL::equals)so clients without the mod can still connect. - Added
CrawlAction.INSTANCE.isCrawling(player)check toSlideAction.canStartto complete slide/crawl mutual exclusion. SlideJumpHandler添加value = Dist.DEDICATED_SERVER,避免客户端LivingJumpEvent与ClientInputHandler边沿检测路径重叠。CrawlAction.canStart补充isPassenger/isSleeping/isFallFlying/isInWater/isInLava检查,防止水中触发趴下时与Pose.SWIMMING冲突。CrawlAction.forcePose注入点从TAIL改为HEAD+cancellable,forcePose返回boolean接管原版逻辑,仅在 pose 真正变化时刷新碰撞箱。- 将 StaminaDisplay 中的 pose 变换用 try finally { pose.popPose(); } 包裹。
PlayerCleanupHandler补充Clone/Respawn/ChangedDimension事件的状态清理。NetworkHandler改用NetworkRegistry.acceptMissingOr(PROTOCOL::equals),兼容未安装模组的客户端。SlideAction.canStart补充CrawlAction.INSTANCE.isCrawling(player)检查,完善滑铲与趴下互斥。
Changed
- Removed stamina-bar display customization options: deleted 9
staminaDisplay*entries fromMoveConfigalong with the[slide.stamina.display]section. - Made all
b.comment(...)calls inMoveConfigbilingual, with English on top and Chinese below. - Added translation keys to every config entry using
.translation("feimamovemod.configuration.<path>"). - Populated all config translation keys in
en_us.jsonandzh_cn.json. - 移除耐力条显示自定义选项:删除
MoveConfig中staminaDisplay*共 9 个配置项及对应[slide.stamina.display]段。 MoveConfig中所有b.comment(...)改为双语形式,英文在上、中文在下。- 所有配置项添加
.translation("feimamovemod.configuration.<path>")翻译键。 en_us.json/zh_cn.json补充全部配置项翻译键。
This mod has no additional files

