Advanced Search
Search Results
110 total results found
Features
Here's a list of all documented (and sometimes undocumented) features that I can remember: [Full list of events] Editing Recipes Editing Tags Adding New Items Adding New Blocks Default Options Changing Window Title and Icon Changing Mod Display Names...
beJS
Download: CurseForge The custom BlockEntity event is a startup event. Block Entities Custom BlockEntities are created in a startup script. They cannot be reloaded without restarting the game. The event is not cancellable. StartupEvents.registry('block', ...
ScreenJS
Download: CurseForge The custom ContainerMenu event is a startup event. Custom Container menus are created in a startup script. They cannot be reloaded without restarting the game. The event is not cancellable. for block entities: StartupEvents.registry('m...
KubeJS REI Runtime
Download: Curseforge Modrinth KubeJS REI Runtime lets you show/hide items in REI dynamically, it provides these methods by default: // in client_scripts REIRuntime.showItem(item); // shows an item in REI REIRuntime.showItems([item, item, ...]); // shows ...
KubeJS Botany Pots
Download: Curseforge Modrinth This mod allows you to create crops, soils, and fertilizers for the Botany Pots mod. ServerEvents.recipes(event => { event.recipes.botanypots.crop( "minecraft:candle", // seed item ["oak_leaves"], // cate...
KubeJS Ars Nouveau
Download: Curseforge, Modrinth This addon allows you to create recipes for the mod Ars Nouveau ServerEvents.recipes(event => { event.recipes.ars_nouveau.enchanting_apparatus( [ "minecraft:sand", "minecraft:sand", ...
KubeJS ProjectE
Download: Curseforge, Modrinth Lets you set the EMC values of items and the Philosopher's Stone transformations blocks with the ProjectE mod. Examples are shown below. Server side events ( server_scripts ): ProjectEEvents.setEMC(event => { // sets the ...
KubeJS Powah
Download: Curseforge Modrinth Allows you to create Energizing Orb recipes from the Powah mod. Example: ServerEvents.recipes(event => { // .energizing([inputs, ...], output, energy) event.recipes.powah.energizing(["minecraft:cobblestone"], "minecraft...
Worldgen
General Notes Biome Filters: Biome filters work similarly to recipe filters and can be used to create complex and exact filters to fine-tune where your features may and may not spawn in the world. They are used for the biomes field of a feature and may look ...
Changing Mod Display Names
Yes, it's cursed, but possible! In a startup script, add this line: Platform.mods.kubejs.name = 'My Modpack Name' This is useful when you add a bunch of items with KubeJS but want them to show your modpack name instead of "KubeJS" And yes, you can change n...
KJSPKG
KJSPKG is a package manager for KubeJS that can allow you to download different example scripts and libraries into your instance. It will automatically manage minecraft version, modloader, dependency and incompatibility control. It works with KubeJS 6 (1.19), ...
KJSPKG
KJSPKG is a package manager for KubeJS that can allow you to download different example scripts and libraries into your instance. It works with legacy versions, as well as KubeJS 6. More info on the new wiki.
New Page
KubeJS Offline Documentation
Dynamic Documentation in a single html page. Download: Curseforge, Modrinth KubeJS Offline is a mod that dumps all class data at runtime into a single html file using a single command. `/kubejs_offline`. Preview Generated Documentation Pages: 1.19.2 Forge ...
KubeJS Farmers Delight
Download: Curseforge Example: Startup Scripts: StartupEvents.registry("block", event => { event.create('example_pie', 'farmersdelight:pie') .sliceItem('kubejs:example_pie_slice') .displayName('Example Pie') event.create('example_feast', 'far...
KubeJS 6.1 Update
For script and pack developers Scheduled events now take in durations (especially strings such as 200 t for tick durations as well) for their delays! NetworkEvents.fromServer and NetworkEvents.fromClient have been merged into NetworkEvents.dataReceived, wh...
KubeJS Industrial Foregoing
Download: Curseforge This lets you modify and create various recipes for Industrial Foregoing ServerEvents.recipes(event => { event.recipes.industrialforegoing.dissolution_chamber( ["minecraft:tnt"], // input items "minecraft:water", /...
Item modification
Item modification is a startup event. ItemEvents.modification is a startup script event used to modify various properties of existing items. ItemEvents.modification(event => { event.modify('minecraft:ender_pearl', item => { item.maxStackSize = 64 ...