File Details
create-recipe-hooks-fabric-1.1.0.jar
- R
- Jul 6, 2026
- 397.09 KB
- 7
- 1.20.1
- Fabric + 1
File Name
create-recipe-hooks-fabric-1.1.0+create-fabric-6.0.8.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
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.