Links
Tags
Creators
Details
1.1.0
Compatibility
Changes
Create Recipe Hooks v1.1.0
One release, two files: Forge (create-recipe-hooks-1.1.0) and Fabric (create-recipe-hooks-fabric-1.1.0). Identical behavior and an identical scripting API on both loaders.
New: Fabric support
- Full port for Create Fabric 6.0.8.1+ (Fabric Loader 0.15+, Fabric API). All machines, owner attribution and script events work the same as on Forge.
- Java API on Fabric uses standard callbacks:
CreateRecipeFinishedCallback,CreateBlockProcessedCallback,CreateTreeCutCallback. CEI_PRINTERis Forge only: Create Enchantment Industry has no Fabric port for Create 6.x.
New: native KubeJS integration
- CRH now registers its own event group:
CRHEvents.recipeFinished('MILLSTONE', event => ...)with an optional source filter and built-inevent.getOwner()resolution. - The EventJS addon is no longer required. Old
NativeEvents.onEventscripts keep working on Forge. - The same scripts run unchanged on Forge and Fabric.
New: block processing events (Drill, Harvester, Saw)
CRHEvents.blockProcessed: one event per block broken by a Mechanical Drill (stationary and on contraptions), per plant cut by a Mechanical Harvester, and per lone block cut by a horizontal Mechanical Saw.CRHEvents.treeCut: one event per tree felled by a Saw, with exactgetLogCount()andgetLeafCount(). Bamboo, cactus, sugar cane, kelp and chorus columns count as trees.- Events carry the block id, position,
isContraption()and the owner UUID. For contraption actors the owner travels inside the assembled contraption and survives restarts.
Improvements
- Item Drain: emptying potions now fires events; the drain covers all three paths (recipes, buckets via fluid capability, potions).
- Crushing Wheels: automated input (belts, hoppers) is now attributed to whoever placed the wheels; manual tosses still attribute the thrower.
- Dependencies moved to Maven, no bundled libs.
Fixes
- Fixed owner attribution being lost on server restart for the Saw, Basin, Spout and Mechanical Crafter. If one of these machines lost its owner after an earlier restart, break and place it once.
Requires Create 6.0.8+ (Forge) or Create Fabric 6.0.8.1+ (Fabric). Server-side: clients do not need the mod. KubeJS is optional and only needed for JS scripts.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:sbGNpoEo:wRjz3mPC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:sbGNpoEo:wRjz3mPC"
}

