KubeJEI
Advanced JEI support for KubeJS
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
KubeJEI
provides advanced JEI support for KubeJS, allowing devs to do basically anything a JEIPlugin can do.
Features:
- Everything in a
JEIPluginredirected to KubeJS via events - Custom JEI category
- Events for "denying" categories and recipes. By filtering them early, instead of hiding them after everything is loaded, almost all related computations can be eliminated.
- Helpers for creating compound
IDrawables, entity rendering, and custom tick timer /kube_jei reloadcommand shortcut for reloading KubeJS & JEI
Examples (2.0.0 for 1.21.1 neoforge)
Deny a category, together with all recipes for it:
KubeJEIEvents.denyCategory(event => {
event.deny("minecraft:campfire_cooking")
})
KubeJEIEvents.denyRecipe(event => {
event.denyAllInCategory("minecraft:campfire_cooking")
})
Make a custom category for custom recipes:
/** @type {{input: Internal.$ItemStack_, catalyst: Internal.$FluidStack_, output: Internal.$ItemStack_}[]} */
const recipes = [
{
input: "ae2:1k_crafting_storage",
catalyst: "minecraft:milk",
output: "ae2:16k_crafting_storage"
}
]
KubeJEIEvents.registerCategories(event => {
const helpers = event.registration.jeiHelpers
event.custom("my:example_category", builder => {
builder.icon = helpers.guiHelper.createDrawableItemStack("minecraft:gold_ingot")
builder.background = helpers.guiHelper.createBlankDrawable(20 * 4, 18)
builder.title = Component.literal("Random Conversion")
// actually you can simply use (...) => {...}, instead of { setRecipe(...) {...} }
// but unfortunately you wont get type hints when using lambda, as of ProbeJS 8.0.3. Hopefully it will be fixed eventually
builder.recipeSetHandler = {
setRecipe(builder, recipe, focuses) {
/** @type {typeof recipes[0]} */
const data = recipe.data
const catalyst = Fluid.of(data.catalyst)
builder.addInputSlot(0, 0).addItemStack(data.input)
builder.addInputSlot(20, 0).addFluidStack(catalyst.fluid, catalyst.getAmount(), catalyst.componentsPatch)
builder.addOutputSlot(20 * 3, 0).addItemStack(data.output)
}
}
builder.drawHandler = {
draw(recipe, graphics, mouseX, mouseY) {
helpers.guiHelper.recipeFlameFilled.draw(graphics, 40, 1)
}
}
})
})
KubeJEIEvents.registerRecipes(event => {
event.custom("my:example_category").addAll(recipes)
})
1.16 only
Note that all 1.4.0+ version requires Rhizo instead of Rhino to run, it's because Rhino for mc 1.16 has been EOL for a long time, missing features for our jsdoc generation
events:
kube_jei.on_runtime_availablekube_jei.register_advancedkube_jei.register_categorieskube_jei.register_fluid_subtypeskube_jei.register_gui_handlerskube_jei.register_ingredientskube_jei.register_item_subtypeskube_jei.register_recipe_catalystskube_jei.register_recipeskube_jei.register_recipe_transfer_handlerskube_jei.register_vanilla_category_extensionskube_jei.deny.recipeskube_jei.deny.categories
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- 2k
- Used in
- 4 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 10, 2026 5:40 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
- 2k
- Used in
- 4 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 10, 2026 5:40 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works