Skip to content
hp-1e edited this page Nov 3, 2026 · 3 revisions

English | 中文

JEI KubeJS

JEI KubeJS lets you create your own JEI recipe categories from KubeJS client scripts: page layout, slots, fluid tanks, arrows and flames, textures, text, tooltips, scroll areas, catalysts and click areas on container screens. No Java needed.

The two versions differ in a few places (mainly reading recipe JSON in multiplayer), so each has its own pages. Pick yours:

Minecraft Loader Requires Server
1.21.1 NeoForge 21.1+ JEI 19.x, KubeJS 2101, Rhino Not needed
1.20.1 Forge 47+ JEI 15.x, KubeJS 2001, Rhino, Architectury Optional, needed only for recipe.json() in multiplayer

1.21.1 NeoForge

  • Getting Started: install, first category, reloading
  • Categories: size, icon, slots, tanks, catalysts, click areas
  • Drawing: arrows, flames, textures, progress bars, text, tooltips, scroll areas
  • Recipes: adding recipes by hand, converting a recipe type, copying a JEI category, reading recipe JSON
  • Callbacks: onDraw, onTooltip and the ctx object
  • JEI Textures: textures that ship with JEI
  • Troubleshooting: log messages, common mistakes, porting from the other version

Full example: examples/all_features.js

1.20.1 Forge

  • Getting Started: install, first category, reloading
  • Categories: size, icon, slots, tanks, catalysts, click areas
  • Drawing: arrows, flames, textures, progress bars, text, tooltips, scroll areas
  • Recipes: adding recipes by hand, converting a recipe type, copying a JEI category, reading recipe JSON
  • Callbacks: onDraw, onTooltip and the ctx object
  • JEI Textures: textures that ship with JEI
  • Troubleshooting: log messages, common mistakes, porting from the other version

Full example: examples/all_features.js

Clone this wiki locally