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

1148 Commits

Author SHA1 Message Date
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
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
jhqwqmc
049145d6a4 fix(bukkit): 修复疏忽写错的几个地方 2025-07-15 15:23:19 +08:00
jhqwqmc
04588340da fix(bukkit): 修复疏忽写错的几个地方 2025-07-15 15:21:10 +08:00
jhqwqmc
aa6f4f100e refactor(network): 修改变量名 2025-07-15 15:02:52 +08:00
jhqwqmc
e371f7951f fix(bukkit): 修复1.21.5+的物品手感问题 2025-07-15 14:57:11 +08:00
XiaoMoMi
10bb3d2e5e 修复坐标系 2025-07-15 03:50:11 +08:00
XiaoMoMi
5b00f695f1 完善上一个commit 2025-07-14 23:44:46 +08:00
XiaoMoMi
7d2e8f1a54 Merge pull request #287 from jhqwqmc/dev
refactor(item): 重构使用物品上下文以支持玩家为null的情况
2025-07-14 22:34:30 +08:00
XiaoMoMi
81f18ae5e6 更正命名 2025-07-14 22:30:01 +08:00
XiaoMoMi
9cbd8cd39e 添加外部配方原料支持 2025-07-14 21:58:26 +08:00
XiaoMoMi
211bcd3df2 添加保险 2025-07-14 20:21:42 +08:00
jhqwqmc
a708f91426 Merge branch 'Xiao-MoMi:dev' into dev 2025-07-14 17:09:14 +08:00
jhqwqmc
97001a76b3 refactor(item): 重构使用物品上下文以支持玩家为null的情况 2025-07-14 17:06:28 +08:00
XiaoMoMi
45464da22a 修复 2025-07-14 17:03:23 +08:00
XiaoMoMi
d736e466b3 支持低版本的酿造 2025-07-14 16:26:35 +08:00
XiaoMoMi
d2b46c5463 修复世界生成阶段的获取流体状态 2025-07-14 02:01:59 +08:00
XiaoMoMi
f3d63937e8 Merge pull request #282 from jhqwqmc/dev-spawnAfterBreak
feat(bukkit): 添加监听几个内部事件
2025-07-14 01:05:03 +08:00
XiaoMoMi
5244524d4b trim配方 2025-07-13 23:28:44 +08:00
jhqwqmc
8854d8afc3 fix(block): 压力板移除时正确更新红石信号 2025-07-13 15:19:27 +08:00