Using KubeJS Tweaks in a pack
Mod version shipped with FlammiCraft: 1.3.0
KubeJS Tweaks extends pack scripting and applies version-specific compatibility repairs. It has no player crafting menu. Match the actual KubeJS/Rhino installation and the fork's supported branch.
Place recipe work in kubejs/server_scripts. A read-only starting point is KubeJSTweaks.beforeRecipes(event => console.info(event.getEntry('minecraft:crafting_table').count())). Perform the appropriate reload/restart in a test environment and inspect KubeJS errors. Registrations and early hooks still require their proper script layer.
No-Op helpers disable datapack entries before parsing using conditions. This changes active recipe/loot/worldgen data and needs the correct resource ID; hiding a viewer entry is different. KJSTweaks.readJsonFromMod reads original mod JSON, not the final state after pack overrides. Codec extensions need actual schema fields/classes, and ProbeJS types must match the installed build.
For missing hooks inspect layer, event registration, supported KubeJS branch and first script/mixin error. Historical hotfix lists do not prove every patch applies to every later version. Syntax checks and isolated compatibility fixtures do not establish live datapack synchronization. The full fixture adds a test recipe and belongs in a disposable test environment.