Open
Conversation
- 新增 collideKnockbackEnabled 配置项,控制碰撞时是否应用击退 - 修复拉回公式:Java原版使用 (owner - hook) × 0.1 并累加到现有速度 - 当 collideKnockbackEnabled=false 时,碰撞只钩住不击退(Java原版行为) - 当 reelLineTargetMotionEC=false 时,使用正确的Java原版拉回公式 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
问题:连续使用鱼竿拉同一玩家时,动量会错误累积 原因:getMotion()返回的是服务端记录的旧motion值,不是玩家真实速度 修复:对于玩家实体,使用player.speed(取反)获取真实速度后再累加 参考 Java 1.21 FishingHook.java:515-521 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
collideKnockbackEnabled配置项,控制碰撞时是否应用击退(owner - hook) × 0.1并累加到现有速度collideKnockbackEnabled=false时,碰撞只钩住不击退(Java原版行为)reelLineTargetMotionEC=false时,使用正确的Java原版拉回公式背景
根据MCP-Reborn源码验证,Java原版鱼竿行为:
(owner - hook) × 0.1累加到现有速度Test plan
🤖 Generated with Claude Code