Botany Pots

Botany Pots

33M Downloads

[1.16.3] invalid ids of bontanytrees ids

raziel23x opened this issue ยท 0 comments

commented

when trying to use any of the ids

Example

botanytrees:acacia
 botanytrees:birch
 botanytrees:dark_oak
 botanytrees:jungle
 botanytrees:oak
 botanytrees:spruce

Example Script

import mods.botanypots.ZenCrop;
import mods.botanypots.Crops;

val crops = <recipetype:botanypots:crop>;

val acacia = crops.getCrop("botanytrees:acacia");
acacia.addDrop(<item:minecraft:acacia_leaves>, 0.05, 1, 1);

when you load the zenscript you get the error

java.lang.IllegalStateException: Invalid crop ID: botanytrees:acacia
    at net.darkhax.botanypots.addons.crt.crops.Crops.getCrop(Crops.java:50)
    at scripts.botany_trees.run(botany_trees.zs:6)
    at Scripts.run(Unknown Source)