KubeJS ItemPhysics 图标

KubeJS ItemPhysics

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/kubejs-itemphysics
资源信息

Minecraft 版本: 1.19.2

平台: fabric

标签: game-mechanics utility

资源介绍

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.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Weapons++

价格:0 墨喵币
下载量:0

查看详情
3D Pumpkin

价格:0 墨喵币
下载量:0

查看详情
Dark Purple Resource Pack

价格:0 墨喵币
下载量:0

查看详情
Gregified Integrations

价格:0 墨喵币
下载量:0

查看详情