Register, Attach & Detach

Description

About RADAPI 🔗

RADAPI makes your game world feel alive by adding high-quality visuals to your items. It allows you to display items as 3D models attached to players or mobs, such as a sword held in a hand or a backpack worn on a character's shoulders.

The system is built to be easy to use. You can create item frames for walls and pedestals for floors that showcase your items with perfect positioning and rotation. RADAPI also features a built-in Dynamic Lighting Engine, allowing items like lanterns and torches to actually glow and light up the area around a player as they walk.

With the new Torch Engine, you can create high-fidelity torches that realistically burn down over time. These torches automatically adapt to their surroundings—changing their shape and model based on whether they are placed on a floor, a wall, or a ceiling. They even feature multi-stage "burnout" logic, dimming slowly until they eventually flicker out and leave a burnt stick behind.

The Archery System brings realistic projectile physics to your game with Newtonian mechanics, gravity, and kinetic damage calculation. Arrows can be equipped with stunning visual trails that are fully customizable—control particle textures, glow intensity, spread, lifetime, and size. Bows feature smooth FOV zoom mechanics and charging animations for an immersive combat experience.

Everything is handled automatically behind the scenes. Your attachments are saved when you log out and appear again when you log back in. If a player dies, the items drop safely on the ground. RADAPI is designed to stay out of the way of your existing code while giving you the power to make your items look impressive with very little effort.


What's New in v2.4.0 🔗

  • Customizable Arrow Trails: Full control over particle effects, textures, glow, and behavior for projectile weapons
  • Enhanced Physics Engine: Improved collision detection and kinetic damage calculation for projectiles
  • Performance Optimizations: More efficient globalstep handling and attachment management
  • Blank Asset Fallbacks: The API now handles missing textures and meshes gracefully, using blank fallbacks to prevent crashes during development

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

v2.6.0

Download

Luanti 5.14+

2025-12-26 10:19 UTC

v2.6.0 🔗

  • Refactored v3 entity API
  • Added v3 pedestal API
  • Added documentation in the v3 older of this mod for the new api

v2.5.0

Download

Luanti 5.14+

2025-12-25 13:37 UTC

v2.5.0 🔗

NOTE: I am slowly adding the v3 API in the code withouth breaking the mod

  • Added v3 ENTITIES API (No documentation)

v2.4.0

Download

Luanti 5.14+

2025-12-21 12:59 UTC

v2.4.0 🔗

  • Customizable Arrow Trails: Full control over particle effects, textures, glow, and behavior for projectile weapons
  • Enhanced Physics Engine: Improved collision detection and kinetic damage calculation for projectiles
  • Performance Optimizations: More efficient globalstep handling and attachment management
  • Blank Asset Fallbacks: The API now handles missing textures and meshes gracefully, using blank fallbacks to prevent crashes during development

v2.2.0

Download

Luanti 5.14+

2025-12-21 11:08 UTC

v2.2.0 🔗

  • Added support for torches

v2.1.0

Download

Luanti 5.14+

2025-12-21 08:50 UTC

v2.1.0 🔗

  • Lazy-Loading Globalstep: Optimized performance by only initializing the lighting loop if a glowing item is registered.
  • Integrated Lighting Engine: Added a native, zero-dependency system for dynamic light sources.
  • Multi-Source Light Logic: Implemented a priority system to calculate the highest light level when multiple sources overlap.
  • Enhanced Item Registration: Added the wield_glow property to radapi.register for hand-held and attached illumination.
  • Persistent Display States: Fixed an issue where rotated items in pedestals/frames would reset after chunk unloads.
  • Memory Management: Added a safety gate to prevent redundant globalstep registrations across multiple mod calls.
  • Automatic Cleanup: Refined the logic for removing light nodes and entities during player logout and death events.
All releases

Information

Provides

radapi

Dependencies

Required
No required dependencies

Information

Type
Mod
Technical Name
radapi
Languages
English
License
GPL-3.0-only for code,
CC0-1.0 for media.
Maintenance State
Actively Developed
Added
2025-12-17 19:58 UTC
Maintainers
mzel1982