KubeJS TFC

KubeJS TFC

476k Downloads

Custom crop does not drop items.

Sigmenzzz opened this issue ยท 2 comments

commented

My scripts:

StartupEvents.registry("block",event => {
event.create('chorus', 'tfc:crop')
.stages(5)
.noCollision()
.hardness(0.4)
.tagBlock('tfc:mineable_with_sharp_tool')
.deadBlock(block => {
block.hardness(0.4)
block.noCollision()
block.tagBlock('tfc:mineable_with_sharp_tool')
})
.productItem("minecraft:chorus_fruit")
.nutrient('nitrogen')
})

It can work well in kubejs_tfc-1.20.1-1.1.3, but it does not drop anything in kubejs_tfc-1.20.1-1.2.0.

commented

Thanks for the report, I'll look into it soon as I can. Hopefully Friday or Saturday

commented

the automatic loot tables generated for crops should now be used again by default in 1.2.1, if there are still issues, please let me know!