Create Heat JS
No reviews yet
Allow to use Kubejs, customize Create's Heat Source Block, HeatLevel.
Provides a framework or library for other mods to use.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
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
Resources
External Links
About
Description
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

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();
// }
// })
})

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
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources