KubeJS-Mods / KubeJS

https://kubejs.com
GNU Lesser General Public License v3.0
314 stars 91 forks source link

Use `Holder<Item>` for crops to allow items as crops #898

Closed Prunoideae closed 2 months ago

Prunoideae commented 2 months ago

Description

Made the Item in crop(Item crop, NumberProvider chance) to use Holder<Item> instead so non-vanilla items can be used as crop output.

Also added a noSeeds method to prevent seeds from dropping in the loot table, while seed item is still created.