Download KubeJS ItemPhysics — Minecraft Mods — MetaMods

KubeJS ItemPhysics

Active

Downloads

0

Last update

8 months ago

Versions

1.19.2
Server
Fabric
Game mechanics
Utils
Addons

KubeJS ItemPhysics

KubeJS ItemPhysics is an extension for the KubeJS framework that introduces a system of physical events for items. This addon provides developers with opportunities to create scripts for modified object behavior when picked up by players, making the gameplay more lively and realistic.

Key Features

  • Physics-based pickup events – Configure item collection rules through special scripts
  • KubeJS event integration – Use JavaScript to create unique physical reactions
  • Access to key data – Obtain information about the player, active hand, and item parameters for precise control over interactions

Available Events

Item Physics Pickup Event

The handler is executed when a player picks up an object with activated physics.

Event Handling Methods

Method Description
event.getEntity() Returns the player object who performed the action
event.getHand() Determines which hand was used to pick up the item
event.getItem() Returns the item's parameters
Project members
Dreaming-Codes

Dreaming-Codes

Developer

DreamingCodes

DreamingCodes

Created: 23 Feb 2025

ID: 82905