Replaces the raw event.custom({type: 'create:pressing', ...}) shim with the high-level event.recipes.create.pressing(out, in) builder.
This was always the intended API; we could not use it before v0.27.0 because the bare event.recipes.create.* namespace did not exist until kubejs_create was added.
Demonstrates the value of the new mod in the v0.27.0 batch.
Test plan
Server restarted with refactored script; KubeJS log shows [bns/supplementaries_bridges] added flax -> string press recipe.
Server bound to port 25565 cleanly.
In-game smoke: place 2 flax under a Mechanical Press; output should be 2 string.
## Summary
- Replaces the raw `event.custom({type: 'create:pressing', ...})` shim with the high-level `event.recipes.create.pressing(out, in)` builder.
- This was always the intended API; we could not use it before v0.27.0 because the bare `event.recipes.create.*` namespace did not exist until `kubejs_create` was added.
- Demonstrates the value of the new mod in the v0.27.0 batch.
## Test plan
- [x] Server restarted with refactored script; KubeJS log shows `[bns/supplementaries_bridges] added flax -> string press recipe`.
- [x] Server bound to port 25565 cleanly.
- [ ] In-game smoke: place 2 flax under a Mechanical Press; output should be 2 string.
Now that v0.27.0 ships kubejs_create, the high-level
event.recipes.create.pressing(out, in) builder works, replacing the
raw event.custom({type: 'create:pressing', ...}) JSON shim we needed
before.
Verified live on the server -- recipe loads cleanly:
[bns/supplementaries_bridges] added flax -> string press recipe
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Matt
merged commit 5e816e1a7a into main2026-05-28 19:08:43 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
event.custom({type: 'create:pressing', ...})shim with the high-levelevent.recipes.create.pressing(out, in)builder.event.recipes.create.*namespace did not exist untilkubejs_createwas added.Test plan
[bns/supplementaries_bridges] added flax -> string press recipe.Now that v0.27.0 ships kubejs_create, the high-level event.recipes.create.pressing(out, in) builder works, replacing the raw event.custom({type: 'create:pressing', ...}) JSON shim we needed before. Verified live on the server -- recipe loads cleanly: [bns/supplementaries_bridges] added flax -> string press recipe Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>