9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-26 10:29:20 +00:00
Commit Graph

1166 Commits

Author SHA1 Message Date
XiaoMoMi
14c30982f7 稍微改进一下 2025-07-26 17:40:29 +08:00
XiaoMoMi
ddb79bd6f8 Merge pull request #293 from Halogly/dev
添加自定义物品右键的判断逻辑
2025-07-26 16:30:42 +08:00
halogly
821a11b478 修正一些方块的判断逻辑,增加交互方块 2025-07-26 00:25:09 +08:00
XiaoMoMi
779871e489 更正命名和格式 2025-07-25 17:27:27 +08:00
XiaoMoMi
2f265e9836 修复一个错误 2025-07-24 23:01:08 +08:00
iqtester
71d3cfe1f6 check fluid through NMS 2025-07-24 10:45:29 -04:00
iqtester
8b87b159d1 Merge branch 'Xiao-MoMi:dev' into dev 2025-07-24 10:45:15 -04:00
halogly
bb3c11016c 增加更多实体交互,补充一些可交互方块 2025-07-24 17:51:04 +08:00
XiaoMoMi
16e4f4ee88 命名更正 2025-07-24 17:36:02 +08:00
iqtester
e5c01c55cf Add DoubleHighBlockItemBehavior 2025-07-23 12:49:38 -04:00
Halogly
2921203bb2 Merge branch 'Xiao-MoMi:dev' into dev 2025-07-23 00:04:59 +08:00
halogly
c2e34ec965 小修改 2025-07-23 00:04:23 +08:00
halogly
86c014b252 更新方法应用 2025-07-22 19:24:22 +08:00
halogly
9f38dd49c6 减少宠物判断 2025-07-22 18:11:52 +08:00
halogly
fa9feb3b8b 删除金锭检测,没必要 2025-07-22 18:09:48 +08:00
halogly
e7a2386466 移除一堆if判断,使用映射处理可交互实体 2025-07-22 18:08:19 +08:00
Halogly
6b69c8fe59 Merge branch 'Xiao-MoMi:dev' into dev 2025-07-21 11:22:37 +08:00
halogly
9a1ebd8b58 修改tag使用,实体使用注册表 2025-07-21 11:19:52 +08:00
jhqwqmc
373dd9a275 Merge branch 'Xiao-MoMi:dev' into dev 2025-07-21 05:04:12 +08:00
jhqwqmc
feb86deaaf fix(item): 修复一个很抽象的bug 2025-07-21 05:03:01 +08:00
XiaoMoMi
8de1acc3ee 默认使用section修复潜在冲突 2025-07-21 04:54:45 +08:00
XiaoMoMi
bee6d258b4 也许修复了FAWE? 2025-07-20 21:23:32 +08:00
jhqwqmc
2ee574a83d feat(core): 添加对 MythicMobs 技能的支持 2025-07-20 04:45:19 +08:00
jhqwqmc
5abdb8af1d feat(network): 完善sendCustomPayload方法 2025-07-20 00:32:30 +08:00
jhqwqmc
af0b59a868 Merge remote-tracking branch 'upstream/dev' into dev-hotfix
# Conflicts:
#	bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/network/PacketConsumers.java
2025-07-20 00:26:11 +08:00
jhqwqmc
64466257ba fix(network): 添加校验 2025-07-19 23:34:23 +08:00
jhqwqmc
ad6bd3ae3c fix(network): 修复1.20.2~1.20.4发自定义包 2025-07-19 23:32:36 +08:00
jhqwqmc
407d013725 fix(network): 修复1.20.2~1.20.4客户端模组检测 2025-07-19 23:21:19 +08:00
jhqwqmc
af7241aade fix(network): 初步修复1.20.2~1.20.4客户端模组检测 2025-07-19 22:54:48 +08:00
jhqwqmc
7b8a51a613 Merge remote-tracking branch 'upstream/dev' into dev-hotfix 2025-07-19 22:54:11 +08:00
jhqwqmc
0c6624819c fix(network): 修复启用客户端模组显示问题 2025-07-19 10:59:33 +08:00
jhqwqmc
f5d9bd8c1a refactor(network): 重构网络数据类型处理逻辑 2025-07-18 19:12:05 +08:00
jhqwqmc
4c47407ba3 refactor(bukkit): 优化雪的替换逻辑 2025-07-18 17:00:55 +08:00
halogly
4d9d8169e8 分开潜行判断 2025-07-18 16:25:37 +08:00
halogly
8a970fa2f3 Update ItemEventListener.java 2025-07-18 14:47:32 +08:00
halogly
774a9a9207 Refactor entity interaction and imports
Replaced redundant event.getPlayer() call with local variable in ItemEventListener and updated import statements in EntityUtils for clarity and specificity.
2025-07-18 14:42:44 +08:00
halogly
76e98cda00 Update ItemEventListener.java 2025-07-18 14:38:46 +08:00
halogly
870bd8171c Remove unused imports in ItemEventListener and InteractUtils
Cleaned up unused imports from ItemEventListener.java and InteractUtils.java to improve code readability and maintainability.
2025-07-18 14:37:39 +08:00
Halogly
cfd07c1346 Merge branch 'Xiao-MoMi:dev' into dev 2025-07-18 14:10:27 +08:00
halogly
f7b1eb751f Fix interactable logic and update entity registration
Corrects the logic for interactable checks in ItemEventListener to ensure proper event triggering. Removes sneaking check from chiseled bookshelf interaction and updates HAPPY_GHAST entity registration to use valueOf instead of reflection for compatibility with newer versions.
2025-07-18 14:07:15 +08:00
halogly
348f004500 Add support for Happy Ghast and harness interactions
Introduces logic for handling Happy Ghast entity interactions and harness item tags, gated by Minecraft version 1.21.6. Refactors entity and block interaction checks to use new utility methods and dynamic entity sets, improving maintainability and future compatibility.
2025-07-18 13:42:49 +08:00
iqtester
84725e177e improve comparison 2025-07-17 16:32:23 -04:00
iqtester
b0e435a2eb Merge branch 'Xiao-MoMi:dev' into dev 2025-07-17 16:31:01 -04:00
XiaoMoMi
7556576179 1.21.8 2025-07-18 04:03:19 +08:00
iqtester
fd94643440 retrieving vanilla state once 2025-07-17 14:34:05 -04:00
XiaoMoMi
07804a8459 folia给物品走实体调度器 2025-07-17 20:42:47 +08:00
XiaoMoMi
5e3115c08c 配方后处理器的准备 2025-07-17 16:02:50 +08:00
iqtester
3c3c5c00dd prevent multi-layer snow replacement 2025-07-16 22:13:17 -04:00
jhqwqmc
e800eb4fc2 refactor(network): 修改注解并切割CONTAINER_CLICK 2025-07-17 09:01:59 +08:00
halogly
2d9370615e Improve entity and block interaction handling
Added checks for interactable entities and blocks, including chiseled bookshelf, redstone ore, and deepslate redstone ore. Updated ItemEventListener to use new InteractUtils methods for entity and block interactions, preventing custom item execution on interactable entities and blocks.
2025-07-16 18:22:07 +08:00