KubeJS (Old)

KubeJS (Old)

3M Downloads

itemBuilder on Blocks doesn't work with burnTime

FooterManDev opened this issue ยท 0 comments

commented

Minecraft Version

1.19.2 / 1.18.2

KubeJS Version

1902.6.1-build.314

Rhino Version

1902.2.2-build.268

Architectury Version

6.5.82

Forge/Fabric Version

43.2.21

Describe your issue

As discussed in https://discord.com/channels/303440391124942858/1131588512999817286, when using .item(i =>{}), you cannot do .item(i =>{ i.burnTime(ticks) }), however other parts of the itemBuilder work with blocks. burnTime does work normally when used on an actual item (At least on 1.19.2).
The game doesn't crash, it loads just fine, but with no Fuel properties.

Crash report/logs

No response