kubejs: reimport, update quests

This commit is contained in:
2025-02-02 16:42:02 +01:00
parent ce569348bc
commit 5593866a0f
54 changed files with 2468 additions and 333 deletions

View File

@ -0,0 +1,94 @@
ServerEvents.recipes(event => {
event.replaceInput(
{mod: 'herbalbrews'},
'minecraft:water_bucket',
'#forge:water_bottles'
);
let b = ['yerba_mate', 'rooibos'].forEach(herb => {
event.custom({
type: "botanypots:crop",
seed: {
item: `herbalbrews:wild_${herb}_plant`
},
categories: ["dirt", "farmland"],
growthTicks: 1200,
display: {
type: "botanypots:aging",
block: `herbalbrews:wild_${herb}_plant`
},
drops: [
{
chance: 1.0,
output: { item: `herbalbrews:${herb}_leaf`},
minRolls: 1,
maxRolls: 2
},
{
chance: 0.2,
output: { item: `herbalbrews:wild_${herb}_plant`}
}
]
});
});
event.custom({
type: "botanypots:crop",
seed: {
item: `herbalbrews:wild_coffee_plant`
},
categories: ["dirt", "farmland"],
growthTicks: 1200,
display: {
type: "botanypots:aging",
block: `herbalbrews:wild_coffee_plant`
},
drops: [
{
chance: 1.0,
output: { item: `herbalbrews:coffee_beans`},
minRolls: 1,
maxRolls: 2
},
{
chance: 0.2,
output: { item: `herbalbrews:wild_coffee_plant`}
}
]
});
event.custom({
type: "botanypots:crop",
seed: {
item: `vinery:dark_cherry_sapling`
},
categories: ["dirt"],
growthTicks: 1200,
display: {
type: "botanypots:aging",
block: `vinery:dark_cherry_sapling`
},
drops: [
{
chance: 1.0,
output: { item: `vinery:cherry`},
minRolls: 1,
maxRolls: 2
},
{
chance: 0.2,
output: { item: `vinery:dark_cherry_log`},
minRolls: 1,
maxRolls: 2
},
{
chance: 0.2,
output: { item: `vinery:dark_cherry_sapling`}
},
{
chance: 0.04,
output: { item: `vinery:rotten_cherry`}
}
]
});
});