promotional bannermobile promotional banner

Create Heat JS

Allow to use Kubejs, customize Create's Heat Source Block, HeatLevel.
# Create Heat JS ![icon.png](https://github.com/XiaoHuNao/CreateHeatJS/blob/1.20.1/src/main/resources/icon.png?raw=true) [![curseforge-badge]][curseforge-url] [![modrinth-badge]][modrinth-url] [![github-badge]][github-url]

Allow to use KubeJS customize Create's Heat Source Block, HeatLevel.

Please use KubeJS Create Mod when adding recipes, and use the .heatLevel() method to set the heat level.

Example

Recipe Example Recipe Example

Client Scripts

ClientEvents.lang("en_us", (event) => {
    event.add("create.recipe.heat_requirement.blaze", "Blaze");
    event.add("create.recipe.heat_requirement.cryotheum", "Cryotheum");
});

Server Scripts

ServerEvents.recipes((event) => {
  event.recipes.create.mixing("minecraft:diamond", "minecraft:coal_block").heatLevel("BLAZE");
  event.recipes.create.compacting("minecraft:water", "minecraft:blue_ice").heatLevel("CRYOTHEUM");
});

Server Scripts

CreateHeatJS.registerHeatEvent(event => {
    // 1. Basic Example: Register custom heat source BLAZE
    // Use addHeatSource(String blockId) - The most common way
    event.registerHeat("BLAZE", builder => builder
        .color(0xFF4500)
        .addHeatSource("minecraft:magma_block") //Block
        .satisfies("HEATED")
    )

    // 2. Advanced Example: Register CRYOTHEUM
    // Demonstrates the use of all overloaded methods
    event.registerHeat("CRYOTHEUM", data => data
        .color(0x00BFFF)
        .addHeatSource("#minecraft:ice") //BlockTags

        // Example: If in the Nether (dimension check), and the block is soul_lantern
        .addHeatSourceIf((level, pos) => {
            if (level.dimension === "minecraft:the_nether") {
                return level.getBlockState(pos).block.id === "minecraft:soul_lantern"
            }
            return false
        })

        // Relationship: Satisfies HEATED condition
        .satisfies("HEATED")

        // Conditional Relationship: Satisfies only in specific recipes
        // Example: If recipe ID is "create:mixing/lava_from_cobble", it is considered to satisfy "SUPERHEATED"
        .satisfiesIf("SUPERHEATED", ctx => ctx.getRecipeId() == "create:mixing/lava_from_cobble"))

    /**
     * Add heat source (supports string format)
     * Supported formats:
     * - blocktag:namespace:path (Block Tag)
     * - fluidtag:namespace:path (Fluid Tag)
     * - block:namespace:path (Block ID)
     * - fluid:namespace:path (Fluid ID)
     * - namespace:path[prop=value] (Block State)
     * - #namespace:path (Try to match Block or Fluid Tag)
     *
     * @param heatSource Heat Source
     * @return Builder
     */
    //addHeatSource(String heatSource)

    /**
     * @param heatSourceDisplayItem Item displayed in JEI heat source slot
     * @return Builder
     */
    //heatSourceSlotItem(ItemStack heatSourceDisplayItem)

    /**
     * @param catalystDisplayItem Item displayed in JEI catalyst slot
     * @return Builder
     */
    //catalyst(ItemStack catalystDisplayItem)


    // You can use satisfies or satisfiesIf methods to perfect the heat level network, 
    // extending the original Create mod's linear relationship levels, allowing vertical, horizontal, and cross relationships.

    // Vertical Relationship
    event.bindSatisfies("TEST1", "TEST2") // The effect here is similar to the "SUPERHEATED", "HEATED" linear relationship of the Create mod.

    // Horizontal Relationship
    // Register a brand new level without using satisfies or satisfiesIf methods to bind the relationship network.

    // Cross Relationship
    // The CRYOTHEUM level registered above belongs to a horizontal independent system, 
    // but uses satisfies and satisfiesIf to cross back into the Create mod's SUPERHEATED, HEATED linear relationships.
})

[curseforge-badge]: https://raw.githubusercontent.com/intergrav/devins-badges/v3/assets/cozy/available/curseforge_vector.svg [curseforge-url]: https://www.curseforge.com/minecraft/mc-mods/create-heat-js [modrinth-badge]: https://raw.githubusercontent.com/intergrav/devins-badges/v3/assets/cozy/available/modrinth_vector.svg [modrinth-url]: https://modrinth.com/mod/create-heat-js [github-badge]: https://raw.githubusercontent.com/intergrav/devins-badges/v3/assets/cozy/available/github_vector.svg [github-url]: https://github.com/XiaoHuNao/CreateHeatJS

The Create Heat JS Team

profile avatar
  • 4
    Followers
  • 8
    Projects
  • 227.3K
    Downloads

More from XiaoHuNaoView all

  • Phase Journey project image

    Phase Journey

    • 190
    • Mods

    PhaseJourney is a stage mod designed for unlocking content through staged control and guiding gameplay flow.

    • 190
    • October 27, 2025
    • Mods
    • +1
  • EnemyBanner project image

    EnemyBanner

    • 178.2K
    • Mods

    EnemyBanner Inspired by the EnemyBanner from the famous game Terraria.

    • 178.2K
    • August 7, 2025
    • Mods
    • +1
  • Heaven Destiny Moment project image

    Heaven Destiny Moment

    • 1.4K
    • Mods

    Provide api for various event creation, such as blood moon, raid, allowing the use of data pack custom

    • 1.4K
    • December 16, 2024
    • Mods
    • +4
  • TerraMoment project image

    TerraMoment

    • 1.6K
    • Mods

    Inspired by Terraria, added many interesting events such as Blood Moon, TorchGod, Slime Rain

    • 1.6K
    • December 16, 2024
    • Mods
    • +1
  • Phase Journey project image

    Phase Journey

    • 190
    • Mods

    PhaseJourney is a stage mod designed for unlocking content through staged control and guiding gameplay flow.

    • 190
    • October 27, 2025
    • Mods
    • +1
  • EnemyBanner project image

    EnemyBanner

    • 178.2K
    • Mods

    EnemyBanner Inspired by the EnemyBanner from the famous game Terraria.

    • 178.2K
    • August 7, 2025
    • Mods
    • +1
  • Heaven Destiny Moment project image

    Heaven Destiny Moment

    • 1.4K
    • Mods

    Provide api for various event creation, such as blood moon, raid, allowing the use of data pack custom

    • 1.4K
    • December 16, 2024
    • Mods
    • +4
  • TerraMoment project image

    TerraMoment

    • 1.6K
    • Mods

    Inspired by Terraria, added many interesting events such as Blood Moon, TorchGod, Slime Rain

    • 1.6K
    • December 16, 2024
    • Mods
    • +1