mods: add some furniture, create enchantments, and the jetpack, and rewrite the dough processing line

This commit is contained in:
2025-06-15 15:35:22 +02:00
parent e36994e537
commit 0f75163bae
14 changed files with 210 additions and 42 deletions

View File

@ -1,4 +1,61 @@
ServerEvents.recipes(event => {
// Creating dough from flour from plants is a major progression item for Agricultural grist, so we set it all up in here.
// First, we set up the flour processing lines
let flourItem = AlmostUnified.getPreferredItemForTag('forge:flour');
let doughItem = AlmostUnified.getPreferredItemForTag('forge:dough');
event.remove({output: flourItem});
event.remove({output: doughItem});
// Vanilla crafting with a hammer gives 0.5x flour per wheat
event.shapeless(flourItem.withCount(1), ['2x #croptopia:flourable', '#alltheores:ore_hammers']);
// Basic tier of grist gives 2x flour per wheat
event.recipes.createCrushing(flourItem.withCount(2), '#croptopia:flourable');
// Late basic gives 4x per wheat
event.recipes.thermal.pulverizer('#croptopia:flourable', [flourItem.withCount(4)]);
// Dough production scales through the grist tiers. Yeast can always be used to further scale output
// Vanilla production takes 2x flour to make 1x dough on the crafting table
//event.shapeless('1x create:dough', [flourItem.withCount(2), '#forge:water_bottles']);
//event.shapeless('8x create:dough', ['2x #forge:flour', '#forge:water_bottles', 'bakery:yeast']);
// Cooking pot is 2x efficient
event.custom({
type: 'farmersdelight:cooking',
cookingtime: 15,
experience: 1.0,
ingredients: [
{tag: 'forge:flour'},
{tag: 'forge:water_bottles'},
],
result: doughItem.withCount(2)
}).id('kubejs:farmersdelight_cooking_dough_from_flour_with_yeast_manual_only');
event.custom({
type: 'farmersdelight:cooking',
cookingtime: 20,
experience: 1.0,
ingredients: [
{tag: 'forge:flour'},
{tag: 'forge:water_bottles'},
{item: 'bakery:yeast'},
],
result: doughItem.withCount(8).toJson()
}).id('kubejs:farmersdelight_cooking_dough_from_flour_manual_only');
// A create mixer is 4x efficient
event.custom({
type: 'create:mixing',
ingredients: ['#forge:flour', {fluid: 'minecraft:water', amount: 50}],
results: [doughItem.withCount(4).toJson()]
});
event.custom({
type: 'create:mixing',
ingredients: ['#forge:flour', 'bakery:yeast', {fluid: 'minecraft:water', amount: 50}],
results: [doughItem.withCount(8).toJson()]
});
// The thermal bottler (basic build grist) is 4x efficient
event.recipes.thermal.bottler(doughItem.withCount(8), [Fluid.of("minecraft:water", 50), '#forge:flour']);
/*
Agricultural grist
none -> basic: plant some wheat, make dough, cook with veggies and meat -> unlock early mob farming, botany pots, kitchen parts

View File

@ -102,13 +102,13 @@ ServerEvents.recipes(event => {
catalysts come from source gems crystalized with basic intelligent fluid and sacred flesh
*/
event.recipes.summoningrituals.altar("kubejs:grist_primordeal_improved")
.itemOutput(Item.of('kubejs:grist_intelligent_improved', 4))
.itemOutput(Item.of('kubejs:grist_intelligent_improved_block'))
.input(Item.of('kubejs:grist_primordeal_improved_block', 2))
.input(Item.of('kubejs:grist_intelligent_improved', 2))
.input(Item.of('kubejs:grist_intelligent_improved', 1))
.blockBelow('ars_nouveau:arcane_core');
event.recipes.summoningrituals.altar("kubejs:sapient_focus")
.itemOutput('kubejs:grist_intelligent_improved')
.itemOutput(Item.of('kubejs:grist_intelligent_improved_block'))
.input('ars_elemental:lesser_fire_focus')
.input('ars_elemental:lesser_water_focus')
.input('ars_elemental:lesser_air_focus')