#Trying to use the Botany pots addons,
1 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Download: Curseforge Modrinth
This mod allows you to create crops, soils, and fertilizers for the B...
WIP
ServerEvents.recipes(event => {
event.recipes.botanypots.crop(
"gtceu:rubber_sapling", // seed item
["minecraft:dirt"], // categories that this crop can be planted on
{ block: "gtceu:rubber_sapling" }, // display block
[
Item.of ("gtceu:rubber_sapling") // item
.withChance(30) // weight of this entry compared to the others
.withRolls(1, 4) // the times this loot will be chosen (min, max)
// for example, when chosen this will give 1 to 2 candles
Item.of ("gtceu:rubber_log") // item
.withChance(100) // weight of this entry compared to the others
.withRolls(1, 6) // the times this loot will be chosen (min, max)
// for example, when chosen this will give 1 to 2 candles
Item.of ("gtceu:rubber_leaves") // item
.withChance(10) // weight of this entry compared to the others
.withRolls(1, 16) // the times this loot will be chosen (min, max)
// for example, when chosen this will give 1 to 2 candles
],
10, // growthTicks
1, // optional, growthModifier - this can be set to 1 in most cases
)
})
this is what ive come up with- without probe JS
I am a pretty terrible coder and new to kubejs in general
did you try to downgrade probejs of VScode to 0.1.0 ?
on vscode , not the mod
this?
yep
Does not work with pre-1.21 ProbeJS due to completely rewritten.
- [0.2.0] changelog
I think I needed a comma after each Item.of
now this error
but that cant be right
how does that look?