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

1115 Commits

Author SHA1 Message Date
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
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
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
jhqwqmc
3ce1917df5 feat(core): 添加监听onRemove内部事件 2025-07-13 15:11:19 +08:00
jhqwqmc
b893e3bc6c feat(core): 添加监听spawnAfterBreak内部事件 2025-07-13 12:56:43 +08:00
jhqwqmc
497372ae35 fix(bukkit): 修复1.21.6+物品展示框及客户端侧方块标签失效问题 2025-07-13 11:58:59 +08:00
XiaoMoMi
ac6a72989f Trim通过测试 2025-07-13 04:03:48 +08:00
XiaoMoMi
ca6a13edba trim配方(未测试) 2025-07-13 03:35:28 +08:00
XiaoMoMi
1d7f70a60c 修复资源包发送相关问题 2025-07-12 03:25:50 +08:00
XiaoMoMi
421bd399c2 修改happy ghast碰撞箱默认参数 2025-07-11 23:35:26 +08:00
XiaoMoMi
aa4ef03255 添加advancement包替换 2025-07-11 22:51:47 +08:00
XiaoMoMi
d3bbacbe84 修复一个未relocate问题 2025-07-11 17:44:12 +08:00
XiaoMoMi
7b8e2c641a 添加读取物品id 2025-07-11 04:51:04 +08:00
XiaoMoMi
0e76a1a939 Update BukkitItemManager.java 2025-07-11 04:20:29 +08:00
XiaoMoMi
f4906abe0d 修复bug 2025-07-11 04:19:55 +08:00
XiaoMoMi
18c67d34e0 重构配方匹配 2025-07-11 04:07:18 +08:00
XiaoMoMi
87f1a53497 配方映射完成80% 2025-07-11 02:48:34 +08:00
XiaoMoMi
2146206415 支持封装空物品 2025-07-10 22:43:12 +08:00
XiaoMoMi
07f837d137 删除debug信息 2025-07-10 04:10:10 +08:00
XiaoMoMi
b77e6a42be 完成高版本配方映射 2025-07-10 04:09:10 +08:00
XiaoMoMi
225d0f90a1 Merge branch 'dev' of https://github.com/Xiao-MoMi/craft-engine into dev 2025-07-10 01:51:43 +08:00
XiaoMoMi
f0842bddb5 添加配方网络包所需的类 2025-07-10 01:51:41 +08:00
XiaoMoMi
d7624f3d6f 修正贴图 2025-07-09 20:12:03 +08:00
XiaoMoMi
4b1e59557c Merge pull request #274 from jhqwqmc/dev
fix: 修复 CustomFishing 兼容
2025-07-09 19:31:14 +08:00
XiaoMoMi
9fe6d69609 Update RecipeEventListener.java 2025-07-09 19:25:23 +08:00
XiaoMoMi
f55817f382 增强发包稳定性 2025-07-09 17:16:06 +08:00
jhqwqmc
dd4461eb19 fix: 修复 CustomFishing 兼容 2025-07-09 05:30:59 +08:00
XiaoMoMi
c029cf6a1d 重构调试 2025-07-08 20:39:12 +08:00
XiaoMoMi
a740917e28 优化non-italic-tag处理 2025-07-08 20:16:12 +08:00
XiaoMoMi
43e8187a08 移动方法 2025-07-08 19:43:12 +08:00
XiaoMoMi
5a081c32b5 Merge pull request #272 from jhqwqmc/fix-untrust-uuid
fix(auth): 修复获取不可信uuid
2025-07-08 19:22:50 +08:00
XiaoMoMi
b19a1390a6 修改方法的位置 2025-07-08 19:20:55 +08:00
XiaoMoMi
cbc8fd4483 修复熔炉注入 2025-07-08 17:56:43 +08:00
jhqwqmc
4a5501a1d4 refactor(bukkit): 移除 ClientboundLoginFinishedPacket 处理中的调试输出 2025-07-08 17:45:34 +08:00
jhqwqmc
cc640883b0 fix(auth): 修复获取不可信uuid 2025-07-08 17:44:34 +08:00
jhqwqmc
9cda66d675 fix(auth): 修复获取不可信uuid 2025-07-08 16:54:36 +08:00