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 block update behavior of giant anvil and add Mekanism Integration 修复巨型铁砧的方块更新,增加通用机械联动 #1401

Merged
merged 8 commits into from
Dec 25, 2024

Conversation

YocyCraft
Copy link
Contributor

@YocyCraft YocyCraft commented Dec 21, 2024

  • 修复了巨型铁砧下落时,周围方块不会受到PP更新的问题。
    • 此前版本中,巨型铁砧下落时,周围方块的updateShape方法不会被触发。
  • 通过重写IBlockExtension#canConnectRedstone方法,修改了方块比较器的红石粉连接行为。
    • 现在,红石粉只会在与方块比较器的输出面相邻时,才会认为自己应该与之相连了。这与原版侦测器的行为一致。
  • 修复了本模组与通用机械的冲突:现在使用纸箱不会导致游戏崩溃了。
  • 使通用机械的纸箱无法包装本模组的多格方块。
    • #mekanism:cardboard_box_blacklist标签增加了以下内容:
  "values": [
    "anvilcraft:giant_anvil",
    "anvilcraft:transmission_pole",
    "anvilcraft:remote_transmission_pole",
    "anvilcraft:tesla_tower",
    "anvilcraft:overseer"
  ]

@YocyCraft YocyCraft changed the title Fix block update behavior of giant anvil 修复巨型铁砧的方块更新 Fix block update behavior of giant anvil and add Mekanism Integration 修复巨型铁砧的方块更新,增加通用机械联动 Dec 22, 2024
@Gu-ZT Gu-ZT merged commit 7bb5c4c into Anvil-Dev:releases/1.21 Dec 25, 2024
1 check passed
@YocyCraft YocyCraft deleted the dev/giant_anvil_fix branch December 25, 2024 07:36
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