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')

View File

@ -2,4 +2,8 @@ ServerEvents.recipes(event => {
event.replaceInput({output: 'bakery:yeast'}, 'minecraft:water_bucket', '#forge:water_bottles');
event.replaceInput({output: 'bakery:yeast'}, 'minecraft:brown_mushroom', '#forge:mushrooms');
event.replaceInput({output: 'bakery:yeast'}, 'minecraft:sugar', '#caupona:sugar');
event.replaceInput({output: 'bakery:cake_dough'}, '#c:wheat', '#forge:dough');
event.replaceInput({output: 'bakery:sweet_dough'}, '#c:wheat', '#forge:dough');
event.replaceInput({output: 'bakery:chocolate_truffle'}, 'minecraft:wheat', '#forge:dough');
});

View File

@ -0,0 +1,3 @@
ServerEvents.recipes(event => {
event.replaceInput({output: 'brewery:pretzel'}, '#c:wheat', '#forge:dough');
});

View File

@ -1,12 +1,4 @@
ServerEvents.recipes(event => {
event.recipes.thermal.pulverizer("4x croptopia:flour", ['minecraft:wheat']);
event.custom({
type: 'create:crushing',
ingredients: ['minecraft:wheat'],
results: ['3x croptopia:flour']
});
event.shapeless('2x croptopia:flour', ['minecraft:wheat', '#alltheores:ore_hammers']);
let jamFruits = ['apricot', 'blackberry', 'blueberry', 'cherry', 'elderberry', 'grape', 'peach', 'raspberry', 'straberry'];
jamFruits.forEach(fruit => {
event.replaceInput({output: `croptopia:${fruit}_jam`}, 'minecraft:glass_bottle', 'thermal:jar');
@ -33,7 +25,6 @@ ServerEvents.recipes(event => {
});
event.recipes.thermal.bottler('croptopia:steamed_rice', [Fluid.of("minecraft:water", 50), '#forge:grain/rice']);
event.recipes.thermal.bottler('croptopia:dough', [Fluid.of("minecraft:water", 50), '#forge:flour']);
let _ = ['pizza', 'supreme_pizza', 'cheese_pizza', 'pineapple_pepperoni_pizza', 'anchovy_pizza'].forEach(pizza => {
event.replaceInput(
@ -42,10 +33,4 @@ ServerEvents.recipes(event => {
'#forge:tomato_sauces'
);
});
event.custom({
type: 'create:mixing',
ingredients: ['#forge:flour', {fluid: 'minecraft:water', amount: 50}],
results: ['4x croptopia:dough']
})
});

View File

@ -1,6 +1,7 @@
ServerEvents.recipes(event => {
event.shapeless('2x croptopia:dough', ['#forge:flour', '#forge:water_bottles']);
event.remove({id: 'thermal:compat/farmersdelight/insolator_farmersdelight_rice'});
event.remove({id: 'botanypots:farmersdelight/crop/rice'});
event.remove({id: 'farmersdelight:cooking/steamed_rice'});
event.replaceInput({output: 'farmersdeligh:pie_crust'}, 'minecraft:wheat', '#forge:flour')
});