Back to mods
KubeJS Chest Item project artwork

CurseForge · Minecraft mod

KubeJS Chest Item

Added KubeJS compatibility for Chest Curio Item

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which KubeJS Chest Item release should I use?

Updated last month
Latest stable file chest_kjs-1.0.0.0.jar
Game version 1.21.1
Loader NeoForge

KubeJS Chest Item chest_kjs-1.0.0.0.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 4 required mods have matching files.

Where it goes

Is KubeJS Chest Item required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does KubeJS Chest Item chest_kjs-1.0.0.0.jar need?

chest_kjs-1.0.0.0.jar. Change the file and its required mods may change too.

All 4 required mods have matching files

Install KubeJS, Chest Curio Items, Better Advanced Tooltips, Rhino first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.

2 listed on this file 2 pulled in by those mods
KubeJS Needed by KubeJS Chest Item chest_kjs-1.0.0.0.jar
required
Matching file found Matched file: KubeJS NeoForge 2101.7.2-build.381
Chest Curio Items Needed by KubeJS Chest Item chest_kjs-1.0.0.0.jar
required
Matching file found Matched file: chest_item-1.21.1-1.3.2.1.jar
Better Advanced Tooltips Needed by KubeJS
pulled in
Matching file found Matched file: better-advanced-tooltips-2101.1.0-build.5.jar
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino 2101.2.7-build.85

2 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add KubeJS Chest Item without breaking your instance.

Built for KubeJS Chest Item chest_kjs-1.0.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use chest_kjs-1.0.0.0.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install KubeJS, Chest Curio Items, Better Advanced Tooltips, Rhino first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside chest_kjs-1.0.0.0.jar. It opens that exact file at the source.

About this project

What does KubeJS Chest Item add?

This mod allows using KubeJS scripts to create some new chest curios.

Supported item types:

  • Normal Curios
StartupEvents.registry('item', event => {
    event.create('item_id', 'chest_item:item_base')
        .displayName('itemName')
        .maxStackSize(1)
        .addAttribute(
            'minecraft:generic.max_health',
            'chest_item:item_max_health',
            0.2,
            'add_multiplied_base'
        )
        .texture('modid:item/texture')
})
  • Shadow Curios
StartupEvents.registry('item', event => {
    event.create('item_id', 'chest_item:item_black_shadow')
        .displayName('itemName')
        .maxStackSize(1)
       .addAttribute(
            'chest_item:shadow_shield',
            'chest_item:item_shadow_shield',
            4,
            'add_value'
        )
        .texture('modid:item/texture')
  • Augments
StartupEvents.registry('item', event => {
    event.create('item_id', 'chest_item:reinforced_item')
        .displayName('itemName')
        .loot(false)  // Should I add it to the loot table
        .valueSan(2)  //Rationality value
        .addAttribute(
            'minecraft:generic.max_health',
            'chest_item:item_shadow_shield',
            -0.1,
            'add_multiplied_total'
        )
        .maxStackSize(1)
        .texture('modid:item/texture')
})
  • Mother Evil Curios
StartupEvents.registry('item', event => {
    event.create('item_id', 'chest_item:evil_mother')
        .displayName('itemName')
        .valueSan(-3)  //Rationality value
        .maxStackSize(1)
        .texture('modid:item/texture')
})
  • Bottles (and associated Faiths)
StartupEvents.registry('item', event => {
    event.create('bottle_id', 'chest_item:memory')
        .displayName('bottle')
        .setMemoryString("kubejs","memory_id")
        .maxStackSize(1)
        .texture('modid:item/texture')
})
//You must create an additional item
//This ID must correspond to the above code
StartupEvents.registry('item', event => {
    event.create('memory_id', 'chest_item:memory_tooltip')
        .displayName('memoryName')
        .setComponent("Large characters")
        .setComponentText("small characters")
        .setColor(0xffffff)
        .maxStackSize(1)
        .texture('modid:item/texture')
})

This mod also adds some predicate methods to check whether the player is wearing the relevant curios, augments or Faiths:

  if (ChestKubeJSHandler.has(player,Item.of('modid:item'))) {
      //Your specific implementation method
  }
  if (ChestKubeJSHandler.hasReinforced(player,Item.of('modid:item'))){
      //Your specific implementation method
  }
  if (ChestKubeJSHandler.hasMemory(player, "modid:item")) {
      //Your specific implementation method
  }

Project description from CurseForge.

Pick your setup

KubeJS Chest Item by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

KubeJS Chest Item versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.