Skip to content

Instantly share code, notes, and snippets.

@equal-l2
Last active June 13, 2026 02:25
Show Gist options
  • Select an option

  • Save equal-l2/06fae2f05fa3c2cb0cd9ba0237528288 to your computer and use it in GitHub Desktop.

Select an option

Save equal-l2/06fae2f05fa3c2cb0cd9ba0237528288 to your computer and use it in GitHub Desktop.
Kube.js Hard Wheat in Create & Farmer's delight (plus addons for both)
{
"type": "farmersdelight:cooking",
"container": {
"count": 1,
"id": "minecraft:bowl"
},
"cookingtime": 100,
"experience": 0.35,
"ingredients": [
{
"tag": "c:drinks/milk"
},
{
"tag": "c:eggs"
},
{
"item": "create:wheat_flour"
},
{
"item": "create:wheat_flour"
}
],
"result": {
"count": 2,
"id": "rusticdelight:batter"
}
}
{
"type": "createdieselgenerators:basin_fermenting",
"ingredients": [
{
"item": "create:wheat_flour"
},
{
"type": "fluid_stack",
"fluid": "minecraft:water",
"amount": 100
}
],
"processing_time": 200,
"results": [
{
"id": "farmersdelight:wheat_dough"
},
{
"id": "create:wheat_flour",
"chance": 0.1
}
]
}
// Enforce the use of create flour
// Place in server_scripts/hard_wheat.js
// data:
// data/createdieselgenerators/recipe/basin_fermenting/dough.json
// data/rusticdelight/recipe/cooking/batter.json
ServerEvents.recipes((event) => {
event.replaceInput(
{ input: "create:dough" },
"create:dough",
"farmersdelight:wheat_dough",
);
event.replaceOutput(
{ output: "create:dough" },
"create:dough",
"farmersdelight:wheat_dough",
);
// replace wheat with flour
event.replaceInput(
{ output: "#c:foods" },
"minecraft:wheat",
"create:wheat_flour",
);
// remove easy dough recipe
event.remove({ id: "farmersdelight:wheat_dough_from_water" });
event.remove({ id: "farmersdelight:wheat_dough_from_egg" });
// remove easy bread recipe
event.remove({ id: "minecraft:bread" });
// remove create dough recipe
event.remove({ id: "create:smelting/bread" });
event.remove({ id: "create:smoking/bread" });
// remove cake recipe, which overlaps with the one from farmer's delight
event.remove({ id: "minecraft:cake" });
// escape-hatch for create dough
event.shapeless("farmersdelight:wheat_dough", "create:dough");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment