9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 04:19:27 +00:00

修复部分按钮的交互

This commit is contained in:
XiaoMoMi
2025-07-03 17:24:59 +08:00
parent d9bf33ce11
commit b90ae4069d
2 changed files with 8 additions and 0 deletions

View File

@@ -130,6 +130,10 @@ public class InteractUtils {
registerInteraction(BlockKeys.PALE_OAK_BUTTON, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.MANGROVE_BUTTON, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.BAMBOO_BUTTON, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.STONE_BUTTON, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.POLISHED_BLACKSTONE_BUTTON, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.CRIMSON_BUTTON, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.WARPED_BUTTON, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.OAK_TRAPDOOR, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.SPRUCE_TRAPDOOR, (player, item, blockState, result) -> true);
registerInteraction(BlockKeys.BIRCH_TRAPDOOR, (player, item, blockState, result) -> true);