Create Heat JS

Quick rating

Create Heat JS

No reviews yet

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

API/Library
Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
create_heat_js-1.21.1-0.0.6.jar
Authors
CurseForge
Modrinth

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

# 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");
    event.add("create_heat_js.heat_source.cryotheum.soul_lantern.tip", "needs to be in the nether dimension");
});

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");
});

Startup Scripts

CreateHeatJS.registerHeatEvent(event => {
    // 1. Basic Example: Register custom heat source BLAZE
    event.registerHeat("BLAZE", builder => builder
        .color(0xFF4500)
        .addHeatSource("minecraft:magma_block")
        .satisfies("HEATED")
    )

    // 2. Advanced Example: Register CRYOTHEUM
    event.registerHeat("CRYOTHEUM", builder => builder
        .color(0x00BFFF)
        .addHeatSource("#minecraft:ice")

        // Conditional heat source: only works in the Nether
        .addHeatSourceIf((level, pos) => {
            if (level.dimension === "minecraft:the_nether") {
                return level.getBlockState(pos).block.id === "minecraft:soul_lantern"
            }
            return false
        },"minecraft:soul_lantern",Component.translatable("create_heat_js.heat_source.cryotheum.soul_lantern.tip"))

        .satisfies("HEATED")
        .satisfiesIf("SUPERHEATED", ctx => ctx.getRecipeId() == "create:mixing/lava_from_cobble"))

    // 3. Modify existing heat level
    event.modifyHeat("SUPERHEATED", data => data
        .satisfies("CUSTOM_LEVEL")
    )
})

/**
 * Heat Source String Format:
 * - 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)
 */

Understanding satisfies Relationship

Basic Concept

satisfies() establishes a **: if A.satisfies("B"), then:

  • Heat source with level A can complete recipes requiring B
  • But heat source with level B cannot complete recipes requiring A
A ──satisfies──> B    means    A ≥ B

Recipes need B ──> Can use A ✓
Recipes need A ──> Cannot use B ✗

Example: Create's Original Hierarchy

Create mod has a built-in relationship: SUPERHEATED → HEATED

Recipe Requirement Blaze Burner (HEATED) Blaze Burner (SUPERHEATED)
HEATED
SUPERHEATED

This means: SUPERHEATED satisfies HEATED, but HEATED does not satisfy SUPERHEATED.

Your Custom Relationships

When you write:

event.registerHeat("BLAZE", builder => builder
    .satisfies("HEATED")
)

You're creating: BLAZE → HEATED

Recipe Requirement BLAZE heat source Blaze Burner (HEATED)
HEATED
BLAZE

Three Types of Relationships

1. Vertical Relationship (Linear Hierarchy)

// Create a chain: LEVEL3 → LEVEL2 → LEVEL1
event.registerHeat("LEVEL2", builder => builder.satisfies("LEVEL1"))
event.registerHeat("LEVEL3", builder => builder.satisfies("LEVEL2"))

Result: LEVEL3 can satisfy LEVEL2 and LEVEL1 (transitive)

Transitive Property (Auto-compatibility)

The relationship is transitive. If you write:

// Create already has: SUPERHEATED → HEATED
// You add: PYROTHEUM → SUPERHEATED
event.registerHeat("PYROTHEUM", builder => builder
    .satisfies("SUPERHEATED")
)

PYROTHEUM will automatically satisfy HEATED too! No need to write .satisfies("HEATED").

PYROTHEUM → SUPERHEATED → HEATED
    │           │           │
    └───────────┴───────────┘
         (all satisfied by PYROTHEUM)
Recipe Requirement PYROTHEUM
HEATED ✓ (auto)
SUPERHEATED
PYROTHEUM

2. Horizontal Relationship (Independent System)

// No satisfies() - completely independent
event.registerHeat("COLD", builder => builder
    .color(0x00BFFF)
    .addHeatSource("#minecraft:ice")
)

Result: COLD is independent, not connected to Create's heat system

3. Cross Relationship

// CRYOTHEUM is independent but can also satisfy Create's conditions
event.registerHeat("CRYOTHEUM", builder => builder
    .satisfies("HEATED")  // Can satisfy HEATED recipes
    .satisfiesIf("SUPERHEATED", ctx => ctx.getRecipeId() == "specific_recipe")
)

Result: CRYOTHEUM is its own level, but can cross into Create's hierarchy

Relationship Diagram

Create's Original:
  NONE ← HEATED ← SUPERHEATED
         (satisfies)

Your Custom:
  BLAZE ──satisfies──> HEATED
  (BLAZE ≥ HEATED)

Combined:
  NONE ← HEATED ← SUPERHEATED
          ↑
          └── BLAZE

Recipes needing HEATED: Can use HEATED, SUPERHEATED, or BLAZE
Recipes needing BLAZE:  Can only use BLAZE

```

[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

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.

//server_scripts
ServerEvents.recipes(e => {
    e.recipes.create.mixing('diamond', 'coal_block').heatLevel("BLAZE")
    e.recipes.create.compacting('diamond', 'coal_block').heatLevel("BLAZE")
});

Rregister Heat Source and Heat Level

//startup_scripts
CreateHeatJS.registerHeatEvent(event =>{
    event.registerHeatLevel("BLAZE",3,0xED9C33)
    event.registerHeatSource("BLAZE","minecraft:furnace[facing=north,lit=true]")
    event.registerHeatSource("BLAZE","minecraft:fire")
    // event.registerHeatSource("PYROTHEUM","minecraft:furnace[facing=south,lit=false]",blockstack => {
    //     const $AbstractFurnaceBlock = Java.loadClass("net.minecraft.world.level.block.AbstractFurnaceBlock");
    //     if(blockstack.hasProperty($AbstractFurnaceBlock.LIT)){
    //         return blockstack.getValue($AbstractFurnaceBlock.LIT).booleanValue();
    //     }
    // })
})

blaze

Screenshots

Gallery

  • DD82F6728210ADAAE160FA39A2248EC4.png
    DD82F6728210ADAAE160FA39A2248EC4.png DD82F6728210ADAAE160FA39A2248EC4.png

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.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~51,000
Total Downloads
CurseForge
~48,000
Modrinth
~3,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works