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
XiaoMoMi
7556576179
1.21.8
2025-07-18 04:03:19 +08:00
XiaoMoMi
07804a8459
folia给物品走实体调度器
2025-07-17 20:42:47 +08:00
XiaoMoMi
5e3115c08c
配方后处理器的准备
2025-07-17 16:02:50 +08:00
XiaoMoMi
fd2c9e637b
Merge pull request #288 from jhqwqmc/dev
...
fix(bukkit): 修复1.21.5+的物品手感问题
2025-07-17 15:42:52 +08: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
0550a6ac24
改进完善一些内容
2025-07-15 03:01:40 +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
215c94f9ff
Update SelectItemModel.java
2025-07-14 03:00:47 +08:00
XiaoMoMi
3eb2560f4b
支持覆写原版物品模型
2025-07-14 02:52:51 +08:00
XiaoMoMi
b02be91a38
Merge branch 'dev' of https://github.com/Xiao-MoMi/craft-engine into dev
2025-07-14 02:02:00 +08:00
XiaoMoMi
d2b46c5463
修复世界生成阶段的获取流体状态
2025-07-14 02:01:59 +08:00
XiaoMoMi
eb673de7b3
Merge pull request #283 from jhqwqmc/dev-playsound
...
feat(core): 播放声音函数支持选择器
2025-07-14 01:47:26 +08:00
XiaoMoMi
d88c8a8e55
标记过时方法
2025-07-14 01:06:21 +08:00
XiaoMoMi
f3d63937e8
Merge pull request #282 from jhqwqmc/dev-spawnAfterBreak
...
feat(bukkit): 添加监听几个内部事件
2025-07-14 01:05:03 +08:00
XiaoMoMi
b1a79157b3
when的值应该是jsonelement
2025-07-14 00:44:46 +08:00
XiaoMoMi
5244524d4b
trim配方
2025-07-13 23:28:44 +08:00
XiaoMoMi
1a9f690e3b
Merge pull request #281 from jhqwqmc/dev
...
fix(bukkit): 修复1.21.6+物品展示框及客户端侧方块标签失效问题
2025-07-13 22:05:15 +08:00
jhqwqmc
d875f1de87
feat(core): 播放声音函数支持选择器
2025-07-13 15:47:04 +08:00
jhqwqmc
8854d8afc3
fix(block): 压力板移除时正确更新红石信号
2025-07-13 15:19:27 +08:00
jhqwqmc
cf2fa2b333
feat(core): 添加监听onRemove内部事件
2025-07-13 15:12:08 +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
022e401b89
Update items.yml
2025-07-13 04:04:50 +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