promotional bannermobile promotional banner
premium banner
Port of the old PainterAPI from KubeJS

Description

PainterJS (KubeJS Addon)

PainterJS is a specialized addon for KubeJS on Minecraft 1.21.1 that re-introduces the client-side PaintAPI.


Credits & Original Content

This project is a port and restoration of the PaintAPI functionality originally developed by the KubeJS team.

How this project differs

In recent versions of Minecraft (1.20+), the core KubeJS mod removed the legacy PaintAPI. PainterJS acts as a compatibility bridge and feature restoration:

  • Restored Functionality: It re-implements the paint event, allowing developers to render custom visuals and shapes directly to the HUD.
  • 1.21.1 Support: This addon specifically brings back these "lost" features for modern 1.21.1 environments.
  • Development Workflow: Unlike the new core KubeJS methods, this allows developers to use the classic PaintAPI syntax they are familiar with from older versions of the mod.

Features

  • Full integration with KubeJS script loading.
  • Dynamic, script-controlled UI elements..

Note: This mod requires KubeJS to be installed.