Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pathfind issues 修复寻路相关问题 #1573

Merged
merged 4 commits into from
Feb 24, 2025

Conversation

YocyCraft
Copy link
Contributor

@YocyCraft YocyCraft commented Feb 11, 2025

  • 修复了 [Bug] 巨型铁砧导致生物寻路时原地转圈 #1165 的问题。
    • 同时为许多类似的碰撞箱不完整的方块修复了类似问题。
    • 此前版本中,这些方块未重写isPathfindable方法,导致这些方块在寻路中被认为是空气。
  • 优化了部分代码的注解。
  • 移除了加热器与红热金属方块的附魔检测与伤害后音效相关的代码。
    • 在1.21版本中,minecraft:hot_floor伤害类型会自然地被冰霜行者附魔减免,无需在造成伤害时判定。
    • 在1.21版本中,LivingEntity#hurt方法会调用LivingEntity#playHurtSound方法,无需在造成伤害同时额外播放音效。
  • 使加速环能被铁砧锤拆除了。
  • 将护符盒的创造物品栏修改为“铁砧工艺:工具与实用物品”。
  • fixed [Bug] 巨型铁砧导致生物寻路时原地转圈 #1165

@ZhuRuoLing ZhuRuoLing merged commit 851c43d into Anvil-Dev:releases/1.21 Feb 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] 巨型铁砧导致生物寻路时原地转圈
2 participants