kubejs: reimport, update quests
This commit is contained in:
94
kubejs/server_scripts/mods/herbalbrews.js
Executable file
94
kubejs/server_scripts/mods/herbalbrews.js
Executable 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`}
|
||||
}
|
||||
]
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user