介绍
中文介绍正在准备中,下面暂时显示原文。
KubeJS Item Physics
KubeJS Item Physics is an addon for KubeJS that enhances item interactions by introducing physics-based events. This allows modders to script custom behaviors when players pick up items, enabling more dynamic and immersive mechanics.
Features
- 🎮 Physics-Based Item Pickup Events – Modify how items are collected based on scripted interactions.
- 🔧 KubeJS Event Integration – Use JavaScript to define custom physics behaviors.
- 🛠️ Access to Player, Hand, and Item Data – Retrieve essential information for precise control over item interactions.
Available Event
`KubeJSItemPhysics.playerPhysicsPickupEvent(event =>
This event is triggered when a player picks up an item with physics-based interactions.
Event Methods
| Method | Description |
|---|---|
event.getEntity() |
Returns the PlayerEntity who picked up the item. |
event.getHand() |
Returns the Hand used to pick up the item. |
event.getItem() |
Returns the ItemEntity being picked up. |
常见问题
KubeJS ItemPhysics 支持哪些 Minecraft 版本?
KubeJS ItemPhysics 支持 Minecraft Java 版 1.19.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
KubeJS ItemPhysics 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
DreamingCodes 的其他作品
查看全部 →noBadPlayers
by DreamingCodes
为 Elysiumcraft 服务器制作的模组,用于移除一些容易被滥用的 Minecraft 行为
2.4万
2 个月前
CurseForge
DiscordLoom
by DreamingCodes
使用 DiscordLoomConnect 连接 Minecraft 服务器与 Discord 服务器,并确保只有白名单玩家才能加入。
2.3万
2 年前
CurseForge
Simple voice chat speaking emote
by DreamingCodes
使用简易语音聊天时,说话会触发简单的点头动画。
2万
1 年前
CurseForge
Furnish Names Shall Be Respected
by DreamingCodes
信件上的署名使用服务器名称,而非 Mojang 用户名。
1.5万
1 年前
CurseForge
评论
登录后评论和评分