KubeJS ItemPhysics

KubeJS ItemPhysics

Dynamic item interactions powered by scripted events.

by
257 Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

About this Mod

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.

Available Versions

KubeJS ItemPhysics 1.0release
MC 1.19.2fabric
February 22, 2025

How to Install KubeJS ItemPhysics on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19.2).

3

Install Mod

Open the mod browser in the dashboard and search for "KubeJS ItemPhysics". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.19.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

KubeJS ItemPhysics server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.2). You can switch loaders with one click in the panel.

Is KubeJS ItemPhysics compatible with fabric?

KubeJS ItemPhysics officially supports fabric for Minecraft 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with KubeJS ItemPhysics – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if KubeJS ItemPhysics consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install KubeJS ItemPhysics with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.19.2