KubeJS (Old)

KubeJS (Old)

3M Downloads

[1.18] Setting harvest tool for blocks doesn't use new tags

esilaanawic opened this issue ยท 1 comments

commented

block.harvestTool('tool', int) doesn't work.

Needs to add tag "minecraft:mineable/..." instead of setting "harvestTool".
Needs to add tag "minecraft:needs_..._tool" instead of setting "harvestLevel".

Can be worked around setting tags manually but it's a bit annoying.

commented

harvestTool is currently completely unsupported (in fact, i just removed the method entirely) because the way non vanilla tool tags and harvest level tags are structured differ between mod loaders and i'm not 100% sure how to implement it in a way that makes sense for both